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

Z Index issues #288

Closed
websiddu opened this issue Feb 9, 2024 · 3 comments
Closed

Z Index issues #288

websiddu opened this issue Feb 9, 2024 · 3 comments
Assignees

Comments

@websiddu
Copy link

websiddu commented Feb 9, 2024

I'm able to access the resize handle above a dialog or anything above the resize handle.

I tried a bunch of z-index changes, but nothing worked, is there a way to disable the resize highlight when a dialog is over the resize line?

Demo
Area

Reproduction link
https://codesandbox.io/p/devbox/clever-johnson-yl7sg4?workspaceId=3494ce51-f0e3-4621-b467-08e9f6142c44

@bvaughn
Copy link
Owner

bvaughn commented Feb 9, 2024

Yeah, I think this is a bug in the recent PanelResizeHandleRegistry utility I wrote, to support resizing multiple panels at once. Will need to think about how best to handle z-index.

@bvaughn bvaughn self-assigned this Feb 9, 2024
@bvaughn
Copy link
Owner

bvaughn commented Feb 10, 2024

This is trickier than I had hoped.

I have a work in progress attempt on #291 but (a) I'm not sure how expensive calculating and comparing stacking order will be and (b) I'm not yet sure how to handle the case that breaks my e2e test (a panel interfering with a resize handle)

@bvaughn
Copy link
Owner

bvaughn commented Feb 11, 2024

Fixed in c1aa2b0; available in version 2.0.5


❤️ → ☕ 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

No branches or pull requests

2 participants