Skip to content

v4 navbar-fixed-top and modal-open padding-right content issue #18366

@iatek

Description

@iatek

In v4, when using a fixed navbar, content gets pushed to the far left when a modal is opened. It occurs when the body content extends beyond the viewport (vertical scrollbar), and is caused by the padding-right: 1617px; that's being added the body.

Perhaps the _isBodyOverflowing && isModalOverflowing test in modal.js needs to compensate for the fixed navbar?

http://codeply.com/go/W1PphRIdfs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions