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

Improved Behavior of Nested ScrollArea #4791

Closed
wants to merge 5 commits into from

Conversation

rustbasic
Copy link
Contributor

@rustbasic rustbasic commented Jul 6, 2024

Issue:
When a ScrollArea is nested with both Horizontal and Vertical scrolling, the outer_rect can become very large due to the content, or when the content is moved. This can cause some issues.

Improvement:
There's a part that handles this with a comment, which simplified and made to work better.

@emilk
Copy link
Owner

emilk commented Jul 15, 2024

As I said in #4770 and #4658:

We need a proper test for this, otherwise we will just go around in circles. ScrollArea is getting way to complex.

The test could be a manual one (in https://github.com/emilk/egui/blob/master/tests/) for now.

@rustbasic
Copy link
Contributor Author

As I said in #4770 and #4658:

We need a proper test for this, otherwise we will just go around in circles. ScrollArea is getting way to complex.

The test could be a manual one (in https://github.com/emilk/egui/blob/master/tests/) for now.

This is as simplified as possible. I tested it for a long time without any problems. Please review.

@rustbasic rustbasic closed this Aug 2, 2024
@rustbasic rustbasic reopened this Aug 2, 2024
@rustbasic
Copy link
Contributor Author

completed.

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

Successfully merging this pull request may close these issues.

2 participants