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

[SpeedDial] Prevent opening when hovering closed actions #12241

Merged
merged 1 commit into from
Jul 25, 2018
Merged

[SpeedDial] Prevent opening when hovering closed actions #12241

merged 1 commit into from
Jul 25, 2018

Conversation

mbrookes
Copy link
Member

Also allows interaction with elements beind the actions when closed

Closes #11138
Closes #12082

@mbrookes mbrookes changed the title {SpeedDial] Prevent opening when hovering closed actions [SpeedDial] Prevent opening when hovering closed actions Jul 22, 2018
Also allows interaction with elements beind the actions when closed
@oliviertassinari oliviertassinari added the package: lab Specific to @mui/lab label Jul 24, 2018
@mbrookes mbrookes merged commit dc77616 into mui:master Jul 25, 2018
@mbrookes mbrookes added the component: speed dial This is the name of the generic UI component, not the React module! label Jul 25, 2018
@zanerock
Copy link

zanerock commented Aug 3, 2018

When I updated to this, the pointerEvents: 'none' style set on the root was suppressing the hover on my FAB and rendering it inoperable (I'm assuming it never gets the mouseover and so never opens). I have quite a bit of local styling, but even when I stripped everything away, it still didn't function (though there may be user error at this point). In general, though, this would seem to suppress opening onMouseOver, no?

@mbrookes
Copy link
Member Author

mbrookes commented Aug 3, 2018

Does it work for you in the docs?

@zanerock
Copy link

zanerock commented Aug 4, 2018

It does. I'll do some debugging on this next chance I get and isolate what's going on in my app.

@zanerock
Copy link

Just to close the loop here: we ended up factoring out the FAB, and given my current demands, I won't be following up on this issue anytime soon. I've saved the customized FAB component for future, though, so if it's still an issue if/when we do re-use it, I will certainly follow up then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: speed dial This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants