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

Expose sx prop for ControlledBubbleMenu styles #303

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

sjdemartini
Copy link
Owner

@sjdemartini sjdemartini commented Nov 24, 2024

This should make it easier to override styles like zIndex and more for the ControlledBubbleMenu, as well as the LinkBubbleMenu and TableBubbleMenu that utilize it under the hood. e.g.:

<LinkBubbleMenu sx={{ "&&": { zIndex: 100 } }} />

Overriding the styles has been a common request, such as in #291 (comment), and in examples here #206 (where folks were doing something similar specifically for MenuButtonTextColor's PopperProps's sx prop).

Narrow application of the broader enhancement proposed in #302.

This should make it easier to override styles like `zIndex` and more,
which has been a common request.
@sjdemartini sjdemartini enabled auto-merge (rebase) November 24, 2024 20:02
@sjdemartini sjdemartini merged commit 3b11833 into main Nov 24, 2024
1 check passed
@sjdemartini sjdemartini deleted the sx-prop-controlled-bubble-menu branch November 24, 2024 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant