-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix scrolling to the end within a popup #10181
Fix scrolling to the end within a popup #10181
Conversation
aa4e303
to
68f7519
Compare
when the available height for the popup is low/small, then it is not possible to scroll until the end Signed-off-by: Ben Fekih, Hichem <[email protected]>
68f7519
to
d72d426
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch finding this! To be honest I don't like the retroactive patching going on here.
I think this may ultimately be hinting at some design issues with the component API and much larger issues with PopUp
(there is for example duplication between area and size, and mutating self in required_size
is a huge hack to begin with).
I think this makes sense to fix this way for now but we need to seriously reconsider component/popup in the longterm here. Its turning into a mess
I agree, this is not the right way to fix this issue. The mutation inside |
when the available height for the popup is low/small, then it is not possible to scroll until the end Signed-off-by: Ben Fekih, Hichem <[email protected]>
when the available height for the popup is low/small, then it is not possible to scroll until the end Signed-off-by: Ben Fekih, Hichem <[email protected]>
when the available height for the popup is low/small, then it is not possible to scroll until the end Signed-off-by: Ben Fekih, Hichem <[email protected]>
when the available height for the popup is low/small, then it is not possible to scroll until the end Signed-off-by: Ben Fekih, Hichem <[email protected]>
when the available height for the popup is low/small, then it is not possible to scroll until the end
this recording shows the problem (created by @thomasaarholt)