Replies: 1 comment
-
I think you should be able to calculate the offset by keeping which item is focused (from the top), how many items are in the scrollable, then calculate the offset using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am trying to implement the following scroll behaviour :
I have a scrollable widget containing rows wich look like this :
I'd like it to auto scroll so the last selected element is always visible (the user is updating the selection using arrow keys).
I am not sure if that is possible with the
snap_to
function since I need to be able to get the height of the visible part of the scrollable widget to calculate an offset and the widow is resizable.Is there a way to get the current height of a widget ?
Beta Was this translation helpful? Give feedback.
All reactions