Skip to content
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

Scroll is not locked to a nested ScrollArea #5422

Open
juancampa opened this issue Dec 3, 2024 · 0 comments
Open

Scroll is not locked to a nested ScrollArea #5422

juancampa opened this issue Dec 3, 2024 · 0 comments

Comments

@juancampa
Copy link
Contributor

Is your feature request related to a problem? Please describe.

When you hit the bottom (or top) of an nested ScrollArea it shouldn't immediately scroll the outer ScrollArea.

Egui behavior:

Screenshot.2024-12-02.at.20.07.24.mp4

Browser behavior:

Screenshot.2024-12-02.at.20.11.51.mp4

In the browser, when you hit the bottom and continue scrolling, the scroll is kept "locked" to the inner area unless:

  1. About a second have elapsed, or
  2. You move the mouse and continue scrolling down

This allows you to confidently scroll up and down nested scroll areas.

Describe the solution you'd like

Lock the scroll to a specific ScrollArea until the above conditions are met

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant