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 is a bug report for DataTable.move_cursor. When invoking add_row then move_cursor, the cursor doesn't move into view under the following conditions;
overflow-y is auto and the scrollbar is not yet visible.
The add_row and move_cursor is done during (or after?) dismissing a screen.
The result looks like so, with the cursor being 1 line below out of view:
This is a bug report for
DataTable.move_cursor
. When invokingadd_row
thenmove_cursor
, the cursor doesn't move into view under the following conditions;overflow-y
isauto
and the scrollbar is not yet visible.add_row
andmove_cursor
is done during (or after?) dismissing a screen.The result looks like so, with the cursor being 1 line below out of view:
The code to reproduce:
To reproduce the issue, hit
D
followed byEscape
repeatedly until a line is added that is just outside of view.Workarounds;
overflow-y: scroll;
appears to move the cursor as expected:move_cursor
behind acall_after_refresh
.The text was updated successfully, but these errors were encountered: