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

[Popover] New stick behavior #1234

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

atomiks
Copy link
Contributor

@atomiks atomiks commented Dec 26, 2024

  • If the user interacts with anything inside the popover after it opens on hover (detected with pointerdown), it sticks like it was clicked. This ensures sloppy mouseleaves don't unexpectedly close the popover, including when attempting to select text inside the popover, focusing an input and needing to navigate to a native browser popup, etc.
  • Copies [Menu] Fix openOnHover issues #1191 openOnHover stick behavior, where pressing within the patient threshold doesn't entirely ignore the click. This relies on [POC] Anchored modality changes #1231 (modal prop and related changes) to work well in terms of user experience.

@atomiks atomiks added the component: popover The React component. label Dec 26, 2024
@mui-bot
Copy link

mui-bot commented Dec 26, 2024

Netlify deploy preview

https://deploy-preview-1234--base-ui.netlify.app/

Generated by 🚫 dangerJS against 48c6735

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

Successfully merging this pull request may close these issues.

2 participants