A clear and concise description of what the bug is
I stumbled across a weird bug with Menu that occurred under a very specific circumstance (that I couldn't write a minimal repro for yet), which causes the list to not be properly positioned. However, Tooltip rendered just fine. I managed to narrow it down to a styling discrepancy between the 2 components. Specifically, the menu's wrapper contains position: relative, while the tooltip's wrapper doesn't.
Now, this might be a floating-ui bug, or maybe a browser bug (but seeing that 2 browser engines suffer from the same issue, I highly doubt it), but I can confirm that overriding position to be static solved the problem for me. So why does Menu have position: relative but not Tooltip?
In which browser(s) did the problem occur?
Firefox, Chrome, Microsoft Edge
Steps To Reproduce
Can't write reproduction yet
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Hi, sorry for taking so long to respond, but do you have any reproduction example or a code snippet? This is too vague which makes it difficult to investigate
What package has an issue
@svelteuidev/core
A clear and concise description of what the bug is
I stumbled across a weird bug with Menu that occurred under a very specific circumstance (that I couldn't write a minimal repro for yet), which causes the list to not be properly positioned. However, Tooltip rendered just fine. I managed to narrow it down to a styling discrepancy between the 2 components. Specifically, the menu's wrapper contains
position: relative
, while the tooltip's wrapper doesn't.Now, this might be a floating-ui bug, or maybe a browser bug (but seeing that 2 browser engines suffer from the same issue, I highly doubt it), but I can confirm that overriding
position
to bestatic
solved the problem for me. So why does Menu haveposition: relative
but not Tooltip?In which browser(s) did the problem occur?
Firefox, Chrome, Microsoft Edge
Steps To Reproduce
Can't write reproduction yet
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Relevant Assets
No response