You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will display a list of items. The number of displayed items can be changed (which also changes size of scrollable content area). We also want to focus view on a particular item on the list - this action is not behaving as expected.
There are basically two cases here:
100 lines are displayed, but we want to expand that to 1000 lines and focus on line 500.
2000 lines are displayed, and we want to reduce that to 1000 lines and focus on line 500.
In the first case, instead of focusing on line 500, focus lands on line ~300 (the Y position is misaligned in comparison to the successful focusing actions). This happens regardless of the initial scroll position. However, if focusing action is repeated (with no change to number of lines, which stays at 1000), focus lands on line 500, as expected.
In the second case, focus always lands on line 500.
The text was updated successfully, but these errors were encountered:
Revision 05bc204.
Consider the following code:
This will display a list of items. The number of displayed items can be changed (which also changes size of scrollable content area). We also want to focus view on a particular item on the list - this action is not behaving as expected.
There are basically two cases here:
In the first case, instead of focusing on line 500, focus lands on line ~300 (the Y position is misaligned in comparison to the successful focusing actions). This happens regardless of the initial scroll position. However, if focusing action is repeated (with no change to number of lines, which stays at 1000), focus lands on line 500, as expected.
In the second case, focus always lands on line 500.
The text was updated successfully, but these errors were encountered: