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

feat(Support SVG elements on modals): expand utils for stacking order to include SVGElements #427

Merged

Conversation

gatzjames
Copy link
Contributor

The issue:
When hovering over SVG icons on elements "above" a handle (e.g. modal) the resize cursor appears and users can drag it to resize the panels "bellow".

Suggested solution:
Expand the recalculateIntersectingHandles function to include SVGElement when looking at the stacking order of elements which fire pointer events.

Copy link

vercel bot commented Nov 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-resizable-panels ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 6:20pm

@gatzjames gatzjames changed the title feat(Support SVG elements): expand utils for stacking order to include SVGElements feat(Support SVG elements on modals): expand utils for stacking order to include SVGElements Nov 4, 2024
@bvaughn bvaughn merged commit fda2233 into bvaughn:main Nov 16, 2024
7 checks passed
@bvaughn
Copy link
Owner

bvaughn commented Nov 16, 2024

Thanks! Sorry I didn't notice this.

@bvaughn
Copy link
Owner

bvaughn commented Nov 16, 2024

Published as [email protected]


❤️ → ☕ givebrian.coffee

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