Why does watermark have z-index: 1 ? #1290
StefanH-AT
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I see that
.dv-dockview .dv-watermark-containerhas az-index: 1, which breaks some overlays I have in my app. I could hack everything else to have a higher z-index of course, but it seems strange that dockview even sets a z-index for watermarks and only watermarks. Actual panels don't get oneMy guess is this was added because of the adjacent

.dv-branch-nodesibling that comes right after it? That branch node is an empty div that takes up full width and height and blocks user inputBut can't we just remove that branch node?
This CSS rule fixes the issue for me. The branch node div does nothing but block input.
Or does it? Is there a reason for it to be set up this way?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions