-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
[3.x] PopupMenu rework and enhancements #66711
Conversation
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.
Did you take the changes straight from the diff of that PR? If so you may want to look at the current state of PopupMenu to see if anything else has been added to fix bugs etc.
It's a mix. I started by cherry-picking your commit and fixing conflicts, but then I compared with both |
7710361
to
7882861
Compare
Many scrolling behaviour improvements and the ability to limit popup size.
7882861
to
6a5992c
Compare
Thanks! |
Backport of #41640 for
3.x
(cc @EricEzaM)From my tests I didn't encounter any major breaking changes but there might be details about the popup behavior that I've missed.
I've done my best to port the PR with minimal changes, but also avoid having to massively change the existing codebase to accommodate for it. The only major deviation I had to do was adding in the variable
max_size
for setting the size, since that variable comes fromWindow
, whichPopup
was refactored to be a child of it (#37317)