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
Dennis Koch
Dennis Koch2y ago
I guess it's the sidebar popping in again after disabling overflow on the body
Kenneth Sese
Kenneth Sese2y ago
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?
Dennis Koch
Dennis Koch2y ago
Do you have scrollbars disabled?
Kenneth Sese
Kenneth Sese2y ago
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 🤣
benshawuk
benshawukOP2y ago
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?
Want results from more Discord servers?
Add your server