-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isStuckToBottom behaviour when filtering #1477
isStuckToBottom behaviour when filtering #1477
Comments
Release notes https://github.com/deephaven/web-client-ui/releases/tag/v0.52.0 # [0.52.0](deephaven/web-client-ui@v0.51.0...v0.52.0) (2023-10-27) ### Bug Fixes * stuck to bottom on filter clear ([#1579](deephaven/web-client-ui#1579)) ([ef52749](deephaven/web-client-ui@ef52749)), closes [#1477](deephaven/web-client-ui#1477) [#1571](deephaven/web-client-ui#1571) [#1571](deephaven/web-client-ui#1571) * Theming - switched from ?inline to ?raw css imports ([#1600](deephaven/web-client-ui#1600)) ([f6d0874](deephaven/web-client-ui@f6d0874)), closes [#1599](deephaven/web-client-ui#1599) ### BREAKING CHANGES * Theme css imports were switched from `?inline` to `?raw`. Not likely that we have any consumers yet, but this would impact webpack config. Co-authored-by: deephaven-internal <[email protected]>
The original fix for this made it impossible to get unstuck from the bottom. See #1615. Reverted in #1616 The issue in the original fix was setting a |
Description
Given a table and a scroll position at the top of the table, filtering to a result of less than a full viewport, then clearing the filter sets the table to isStuckToBottom (and further, only applies after a re-render). As a user this can be confusing and frustrating that you end up at the bottom of a table after the filter clears.
Although, this may be the desired behaviour if the user was already at the bottom. Open to heuristic suggestions for this behaviour. Maybe isStuckToBottom isn't triggered until on short viewports until it a tick actually goes past the end of the screen.
In comparison, if you are at the top, filter by a result that has a full viewport worth of results (example filter MyBoolean = true from below), then clear that filter you remain at the top. So behaviour is inconsistent.
Steps to reproduce
Expected results
I feel like I would expect the table to be back at the top.
Actual results
The table is stuck to the bottom. (It doesn't move until after step 4, which is even weirder).
Versions
Engine Version: 0.27.0
Web UI Version: 0.46.0
Java Version: 17.0.7
Barrage Version: 0.6.0
The text was updated successfully, but these errors were encountered: