Skip to content

Fix nested drawer swipe closing parent playview drawer#757

Merged
marcodejongh merged 1 commit intomainfrom
claude/fix-nested-drawer-swipe-ZHuVC
Feb 8, 2026
Merged

Fix nested drawer swipe closing parent playview drawer#757
marcodejongh merged 1 commit intomainfrom
claude/fix-nested-drawer-swipe-ZHuVC

Conversation

@marcodejongh
Copy link
Owner

Prevent swipe gestures on nested drawers (queue list, climb actions)
from propagating to and closing the parent playview drawer. The fix adds
a data attribute to each SwipeableDrawer paper element and updates the
allowSwipeInChildren callback to check if the touch originates from a
nested drawer, refusing to handle it if so.

https://claude.ai/code/session_01L6hHAm5yuS4Nv3c1iMWoRw

Prevent swipe gestures on nested drawers (queue list, climb actions)
from propagating to and closing the parent playview drawer. The fix adds
a data attribute to each SwipeableDrawer paper element and updates the
allowSwipeInChildren callback to check if the touch originates from a
nested drawer, refusing to handle it if so.

https://claude.ai/code/session_01L6hHAm5yuS4Nv3c1iMWoRw
@vercel
Copy link

vercel bot commented Feb 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
boardsesh Building Building Feb 8, 2026 0:34am

Request Review

@claude
Copy link

claude bot commented Feb 8, 2026

Claude Review

Ready to merge - No significant issues found.

The fix correctly prevents nested drawer swipe gestures from propagating to parent drawers by using a data attribute to identify drawer paper elements and checking the closest drawer ancestor in the allowSwipeInChildren callback. The implementation is clean and follows MUI patterns.

@marcodejongh marcodejongh merged commit 3a2440b into main Feb 8, 2026
4 of 6 checks passed
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.

2 participants