Reset zoom view

3 posts, 0 answers
  1. Ivan
    Ivan avatar
    3 posts
    Member since:
    Aug 2014

    Posted 19 Dec 2014 Link to this post

    Hello, 

    I have a listview with images, if I click on image then I go to a view with data-zoom="true". But when I let an image zoomed and leave the view, when I come back to the view,  the view remembers the zoomed position and my new image is also zoomed. So I want to know how to reset the data-zoom, when I load the view.
    I was also looking in the documentation, but I could not find anything for my solution.
  2. Ivan
    Ivan avatar
    3 posts
    Member since:
    Aug 2014

    Posted 22 Dec 2014 Link to this post

    I used this to fix my issue. I hope that can help someone.

    $(".km-scroll-container").css("-webkit-transform", "");
  3. Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 24 Dec 2014 Link to this post

    Hi Ivan,

    Thank you for sharing the solution with our community.

    Have a nice and happy holidays.

    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