ui
ui copied to clipboard
Bug(DropdownMenu): Margin shift when opening dropdown menu
When I open DropdownMenu
, a weird shift is triggered. However, when I close it, it disappears.
When it's closed:
When it's opened:
I have no idea what could cause this.
Can you please provide a little bit context? @JigolKa
At the top of my page, I have a header which looks like this:
and the avatar at the right is a dropdown menu (just like the dashboard example).
But when I open this dropdown, the whole page moves to the left, I don't know why:
And when I close it, everything is like the first screenshot
Basically the scroll bar disappears when dropdown is clicked, that's why the shift is there.
I'm having the same issue. Setting modal=false
to the dropdown menu component fixes the issue for me.
<DropdownMenu modal={false}>
...
</DropdownMenu>
I'm having the same issue. Setting
modal=false
to the dropdown menu component fixes the issue for me.<DropdownMenu modal={false}> ... </DropdownMenu>
Thanks a lots
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.
modal={false}
fixes it.