Modal window jumps to left a tiny bit when closing
I know it's a very small thing, but does anyone know a way of stopping this happening, or is it a bug?
It's easy to reproduce - open any editor modal (even on the Filamant Demo site) and cancel out, and it jumps to the left a tiny bit just as it starts the closing animation. (MacOS on Chrome, Firefox & Safari)
5 Replies
I guess it's the sidebar popping in again after disabling overflow on the body
I can't reproduce that on Filament's demo site. The Edit modals on both Authors resource and the Categories resource aren't jumping for me (MacOS, Chrome). Where are you seeing it on the demo site?
Do you have scrollbars disabled?
Its on automatic. So they appear when scrolling
But yes, it jumps when scroll bars are turned on
Another reason to have scroll bars turned off 🤣
I’m using
html,
body {
overflow-y: scroll;
}
Otherwise the header content jumps when moving between pages that scroll and ones that don’t.
Is there any css that can compensate on the modal itself?