Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Page shift on modal open, two scrollbars on modal close #43

@shchukin

Description

@shchukin

Hello.
Thanks for plugin.

When I open modal window, my page jump in right direction for a half scrollbar width.
It happens because you block page by overflow: hidden; and original scrollbar disappear.
I think here is no choice but to remember scrollbar width and set suitable padding-right.
(check bootstrap modal for example)

When I close the window I see two of scrollbars: http://prntscr.com/b67niq
I think you should release page back to normal only after fade out animation is finished.
(check magnific popup for example)

If you guys work on MAC you probably see no scrollbars at all. There is an option in system settings to turn on scrollbars: http://prntscr.com/b67pgu

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions