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

[docs] Apply the z-index on the right DOM element #29934

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Nov 28, 2021

https://deploy-preview-29934--material-ui.netlify.app/components/autocomplete/#customized-hook

In #27184, we have introduced a regression, we started to apply a z-index on the toolbar buttons, instead of the tooltip's popper. To reproduce the issue, you can do one of these three, same root cause:

  1. https://mui.com/components/autocomplete/#customized-hook. See the icon above the autocomplete's popup (this is initially what got me to look into what was wrong):

Screenshot 2021-11-28 at 21 31 13

  1. https://mui.com/components/autocomplete/#customized-hook. See the tooltip above the header:

Screenshot 2021-11-28 at 21 31 47

  1. https://mui.com/components/autocomplete/#customized-hook. See the rogue z-index:

Screenshot 2021-11-28 at 21 32 33

This reminds me a bit of #28679. It could be interesting to move this file to TypeScript in the future, to see if our typings are working.

@oliviertassinari oliviertassinari added docs Improvements or additions to the documentation component: tooltip This is the name of the generic UI component, not the React module! labels Nov 28, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Nov 28, 2021

No bundle size changes

Generated by 🚫 dangerJS against 09d7fa8

Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mnajdova mnajdova merged commit 22b820b into mui:master Nov 29, 2021
@oliviertassinari oliviertassinari deleted the tooltip-zindex-regression branch November 29, 2021 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tooltip This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants