Hi everyone!
When I add some line in my listview, the view, automatically scroll down to the last element. This behavior happens if the rows added are not too many (ex. 10).
This behavior can also be noted in the sample project Winset:
- In tips-> list-sample -> list-sample.js line #34: replace the 3 with 11.
- Run application -> choose "Example for using listview" -> "reset and create".
How can I fix this? Is that a bug?
$("#new").on( "vclick", function ( e ) { var i; // $("#mylist").html("").trigger("create"); for ( i = 0; i < 10; i++ ) { add_item(); } $("#mylist").listview("refresh"); });