-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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] Want to implement hover #44554
Comments
Hey @hengshanMWC! Please provide a reproduction so we can take a look if you think there's an issue with the Popover component. We have an example in the docs on how to open a Popover on hover: https://mui.com/material-ui/react-popover/#mouse-hover-interaction |
Hi,Here is a reproducible link@ @aarongarciah |
@hengshanMWC may I ask you to explain what are you exactly trying to achieve? What's the specific behavior you want to achieve with the timer in your example? |
I think you can achieve the desired behavior with some CSS magic, using Please, test this thoroughly and make sure this approach meets your project's criteria (especially in terms of accessibility) before considering this a valid approach. Let me know if this works for you. Cheers. |
@aarongarciah Got it, thanks to you, it was actually a simple CSS problem.https://codesandbox.io/p/sandbox/laughing-currying-g3vl6l?file=%2Fsrc%2FDemo.js%3A34%2C20 |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @hengshanMWC How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Summary
How to implement the hover function of Button + Popover's children? When my mouse is on the Button, the Popover opens, but the Popover occupies the entire screen and the parent element makes the Popover flash continuously.
Examples
Motivation
No response
Search keywords: Popover hover
The text was updated successfully, but these errors were encountered: