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
The keybindings should update according to the List's height. For example, if there is only one page, then disable next page and prev page bindings.
Screenshots
Note
The next page & prev page keybindings are still enabled, even though there is only one page.
Additional context
As a workaround, you can force the keybindings to update by calling SetFilteringEnabled which will, in turn, call updateKeybindings, but this is hacky. It seems like the straightforward fix is to also call updateKeybindings in setSize.
The text was updated successfully, but these errors were encountered:
Describe the bug
Keybindings are not updated (enabled/disabled) after resizing the height of a list.
To Reproduce
You can see this behavior by calling
SetHeight
in the list-simple example.Expected behavior
The keybindings should update according to the List's height. For example, if there is only one page, then disable
next page
andprev page
bindings.Screenshots
Note
The
next page
&prev page
keybindings are still enabled, even though there is only one page.Additional context
As a workaround, you can force the keybindings to update by calling
SetFilteringEnabled
which will, in turn, callupdateKeybindings
, but this is hacky. It seems like the straightforward fix is to also callupdateKeybindings
insetSize
.The text was updated successfully, but these errors were encountered: