You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually, you would set overflow: hidden to body when the modal mounts. However, this causes a weird adjustment to the layout (because the scrollbar disappears). This mostly affects Windows/Linux users, and some OSX users that use a mouse (because it forces the scrollbar to appear).
As an example, compare Semantic UI's Modal and TWBS' Modal. TWBS solved this by adding a padding-right to the body when the modal mounts.
* I'm not sure whether this would make this project more opinionated. Moreover, I'm torn whether this belongs to the core functionality or to userland code.
The text was updated successfully, but these errors were encountered:
Usually, you would set
overflow: hidden
to body when the modal mounts. However, this causes a weird adjustment to the layout (because the scrollbar disappears). This mostly affects Windows/Linux users, and some OSX users that use a mouse (because it forces the scrollbar to appear).As an example, compare Semantic UI's Modal and TWBS' Modal. TWBS solved this by adding a
padding-right
to thebody
when the modal mounts.* I'm not sure whether this would make this project more opinionated. Moreover, I'm torn whether this belongs to the core functionality or to userland code.
The text was updated successfully, but these errors were encountered: