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

Popup menu click-hover-click-again doesn't work near edge of viewport #2008

Open
justvanrossum opened this issue Feb 5, 2025 · 0 comments
Open
Assignees
Labels
ui-design user experience An issue with the user experience

Comments

@justvanrossum
Copy link
Collaborator

We have two menu select behaviors:

  1. click-drag and release on disired menu item
  2. click, hover (or type arrow key) to the desired item, then click or type enter

When the menu panel gets moved because it would otherwise be clipped by the viewport, the second method no longer works.

This does work correctly for the context menu, as it succesfully seems to avoid the pointer location.

I think the problem is with the mouse-up logic: it currently selects if mouse-up is on a selectable menu item. It should probably only do that if the pointer at least moved some minimal distance.

@justvanrossum justvanrossum added ui-design user experience An issue with the user experience labels Feb 5, 2025
@justvanrossum justvanrossum self-assigned this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui-design user experience An issue with the user experience
Projects
None yet
Development

No branches or pull requests

1 participant