-
-
Notifications
You must be signed in to change notification settings - Fork 804
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
<sl-dropdown>
content overflow regression introduced in 2.0.0-beta.80
#856
Comments
<sl-dropdown>
content overflow regression introduced in 2.0.0-beta.80
I believe this has been resolved per #854, as the tooltip was not correctly setting a z-index after the popup refactor. I'll be releasing |
@claviska – this is independent from Here a dropdown with long contents makes the page viewport larger! Earlier The steps to reproduce, along with the screenshots is as clear as I can get here. Please look at the Sync menu inside the dropdown and how it differs between |
@claviska – I have marked the issue on the screenshot. |
I see that, but I can't replicate it outside of your environment. Both popup and dropdown are working as expected for me. I'm specifically testing dropdowns with lots of menu items so they exceed the viewport, and the I'm not going to dig into your custom code to make sure it is a problem with the library. It very well might be, but I don't have the time to weed through it for you. A minimal repro will make the problem very obvious and it will give me a way to more accurately observe and verify a fix for the problem. Thanks! Update: I just noticed you filed #859 with the same screenshot as above. That's not very helpful. I'll reopen this and wait for a better repro (one that I can actually verify and test) and close that one so we'll have this chat history available. |
@claviska – thank you for the prompt response! I will let you know if it ever re-appears. Currently I have applied a quick fix myself and I also don't have more time to take a deeper look. |
OK, should I close this then? There are some updates that you may not be testing with that may very well solve it, but if you can't be bothered to make a test case then this issue is going to sit and rot. |
Let's not make it rot. I will close this for now then. |
Actually I could reproduce it minimally between
|
Manually selecting the |
Since beta.81 was just released, can you make sure to update to that version? Thanks! |
Yeah, one second. |
Describe the bug
0.78
<sl-dropdown>
...<div part=base>
...<div part=panel style="max-width: #px; max-height: #px">
✔️
0.78
→ overflows are nicely contained.0.80
<sl-dropdown>
...<sl-popup part=base>
...<div part=panel>
!! nomax-width
,max-height
.❌
0.80
→ overflows are not contained.To Reproduce
Steps to reproduce the behavior:
//rt.ht/..
permalinks given below in the table header<sl-menu-item>
.80
.78
//rt.ht/y4
.80
//rt.ht/y6
Demo
See the links above.
Screenshots
See the screenshots above.
Browser / OS
Additional information
This is a regression in
.80
. The old behavior is preferred.The text was updated successfully, but these errors were encountered: