Tableview Scroll issue, SDK related #12736
-
I have a tableview that lazy loads data and works great on 9.2.1GA or less and has for over 5 years. When I compile using 9.3.x+ I get weird behaviour on Android. The app adds the rows as required when you reach the end of the table but then the tableview won't scroll up past the previous row total. So, the example is, on app start 10 records are retrieved and placed in the table. Then I scroll down to the bottom of the table and 10 additional rows are added to the table. Now the table has 20 total rows. When I scroll back up, the table will not scroll up beyond record 11. It stops there, but the scroll indicator to the right of the table shows I am only half way up the table. It's really strange because when I compile with 9.2.1GA it all works as expected. I know there were changes to the tableview/listview handling but has anyone else encountered this? Do you know how/if there is a fix? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
did you already try a nightly build of 9.3.3 (https://builds.appcelerator.com/mobile/9_3_X/mobilesdk-9.3.3.v20210405082000-osx.zip) or even a 10.0.0 (https://builds.appcelerator.com/mobile/10_0_X/mobilesdk-10.0.0.v20210421092535-osx.zip). |
Beta Was this translation helpful? Give feedback.
-
Well, it turns out it was the setting of the array to be the tableview data. Not sure why that is occurring in this case, but changing the code to manipulate the tableView directly seems to have avoided the issue. Going to close for now but it is a bit concerning that this issue got past testing and will not be looked at. |
Beta Was this translation helpful? Give feedback.
Well, it turns out it was the setting of the array to be the tableview data. Not sure why that is occurring in this case, but changing the code to manipulate the tableView directly seems to have avoided the issue. Going to close for now but it is a bit concerning that this issue got past testing and will not be looked at.