This is a migrated thread and some comments may be shown as answers.

Bug in the Jitterz Coffee sample app

6 Answers 18 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lars Golovitcher
Top achievements
Rank 1
Lars Golovitcher asked on 19 Sep 2015, 01:11 PM

Try the jitterz coffee coffee app - There are three items in data/statbucksTest.json - try expanding that list so there are a lot.

 Right out of the box, that works fine, you can go to the map, then touch the "List" on the top of the map to see the list. However, if you scroll on the list, the map will no longer work... Now I can get the map to keep showing, but then the list won't scroll...

 How can I keep the map working as well as the list scrollable?

6 Answers, 1 is accepted

Sort by
0
Lars Golovitcher
Top achievements
Rank 1
answered on 19 Sep 2015, 01:22 PM

I've discovered that I can sort of work around it: in toggleStoreView when the map is shown, you can call:

 $(document).find(".km-scroll-container").css("-webkit-transform", "");​

That will show the map again - BUT only if the list *has stopped scrolling*. If the list is still scrolling when you activate the map, the map is now shown...
0
Lars Golovitcher
Top achievements
Rank 1
answered on 19 Sep 2015, 03:17 PM

Too many bugs for me, I'm back to adding data-stretch="true" to the #stores view, but then there is no scrolling on the #storeList ...

How do I enable scrolling in the #storesList when the parent view has data-stretch="true" set?

0
Lars Golovitcher
Top achievements
Rank 1
answered on 19 Sep 2015, 05:49 PM
I ended up separating them into two views. I still feel that the jitterz coffee sample app is misleading ;P
0
Kaloyan
Telerik team
answered on 23 Sep 2015, 03:58 PM
Hi Lars,

Thank you for contacting us and sharing your feedback. I agree that the Jitterz Coffee sample needs a lot of improvements and I have now logged the issues you have encountered in our backlog. Still, I believe that the sample should be re-written as it also lacks some best practices and indeed is misleading for our customers. Unfortunately, I am not sure when this will happen and therefore, I cannot provide any ETA on it.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Lars Golovitcher
Top achievements
Rank 1
answered on 23 Sep 2015, 09:52 PM
Thank you. For now, you should definitely leave a comment somewhere telling people that google maps and the list part should be in separate views, rather than being contained in one view. It will save **so** much time for people, like myself! :)
0
Kaloyan
Telerik team
answered on 28 Sep 2015, 07:52 AM
Hi again Lars,

I have now logged this for future implementation. Thank you for the valuable feedback once again!

As a small token of gratitude, I have also updated your Telerik points.

Regards,
Kaloyan
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
General Discussion
Asked by
Lars Golovitcher
Top achievements
Rank 1
Answers by
Lars Golovitcher
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or