-
-
Notifications
You must be signed in to change notification settings - Fork 785
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
Tooltips obscured when used within a Tree #1709
Tooltips obscured when used within a Tree #1709
Comments
CodePen repro added since CodeSandbox won't let me edit it for some reason: |
I've investigated this further and I've found two issues. First, the tooltip's target is a text node in the repro, but it should be an HTML element. This is mentioned in the docs, but maybe it should be more prominent. This solve the position of the tooltip and the arrow, but it still shows behind the input. It looks like that's caused by this line of the tree's stylesheet.
I'm not sure why that's there, so I want to check with @alenaksu before we remove it. In the meantime, you can add the following property to revert it so the tooltip shows up as expected. <sl-tree style="isolation: auto;"> @alenaksu — do you recall the purpose of the isolation property in |
@claviska, unfortunately, I don't remember exactly why it was added, but I don't think it's really needed. I can take a better look though. |
Describe the bug
Tooltips seem to be obscured by other Shoelace controls, when used within a Shoelace Tree.
If the "obscuring" control is disabled, a transparency effect occurs instead.
To Reproduce
Steps to reproduce the behavior:
sl-tree-item
open
attribute)Demo
Try disabling the
sl-input
to see the transparency affect.Browser / OS
Additional information
The text was updated successfully, but these errors were encountered: