-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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][Drawer] Right-anchored persistent drawer intercepts click while closed #29997
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Looks like that fix works. PR created 👍 |
Is the issue resolved or are we still looking for another solution as mentioned in the PR? |
It haven't been resolved, looks like the proposed solution in #29997 (comment) breaks something else. |
Is it possible to trigger the pipeline checks locally ? |
I have a PR for this issue, would it be possible for anyone to review it ? The PR has a green pipeline. |
Duplicates
Latest version
Current behavior 😯
When a right-anchored persistent drawer is closed, it intercepts clicks in its "area" as if it were open.
persistent-drawer-bug.mp4
Expected behavior 🤔
Behavior should be the same as it currently is for a left-anchored persistent drawer.
When a right-anchored persistent drawer is closed, I should be able to click on elements or select text that is in the area taken up by the drawer when it is open.
Both behaviors can be seen in the video in "Current behavior".
Steps to reproduce 🕹
Steps:
The documentation page or the default codesandbox for this component is enough to reproduce: https://codesandbox.io/s/n5rze?file=/demo.js
Context 🔦
I would like to be able to place components in the area of the drawer when it is closed that can be clicked on to open the drawer.
If this is a z-index issue, then this issue may be similar, but I don't believe it is the same: #29878
Your environment 🌎
Reproduced in both Chrome 96.0.4664.45 (Official Build) (64-bit) and Firefox 94.0 (64-bit) on Ubuntu 20.04.3 LTS (Focal Fossa)
`npx @mui/envinfo`
Server:Client:
The text was updated successfully, but these errors were encountered: