Bug in the Jitterz Coffee sample app

7 posts, 0 answers
  1. Lars Golovitcher
    Lars Golovitcher avatar
    8 posts
    Member since:
    Feb 2015

    Posted 19 Sep 2015 Link to this post

    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?

  2. Lars Golovitcher
    Lars Golovitcher avatar
    8 posts
    Member since:
    Feb 2015

    Posted 19 Sep 2015 Link to this post

    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...
  3. Lars Golovitcher
    Lars Golovitcher avatar
    8 posts
    Member since:
    Feb 2015

    Posted 19 Sep 2015 in reply to Lars Golovitcher Link to this post

    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?

  4. Lars Golovitcher
    Lars Golovitcher avatar
    8 posts
    Member since:
    Feb 2015

    Posted 19 Sep 2015 Link to this post

    I ended up separating them into two views. I still feel that the jitterz coffee sample app is misleading ;P
  5. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 23 Sep 2015 Link to this post

    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.

     
  6. Lars Golovitcher
    Lars Golovitcher avatar
    8 posts
    Member since:
    Feb 2015

    Posted 23 Sep 2015 in reply to Kaloyan Link to this post

    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! :)
  7. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 28 Sep 2015 Link to this post

    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.

     
Back to Top