Skip to content

Modal component preventScrollUnderneath prop not working #472

@mbohal

Description

@mbohal

When migrating to MkDocs/Docoff based docs (#440) an issue with the prop preventScrollUnderneath in the Modal component appeared.

It seems that the default scroll prevention does not work with the MkDocs platform:

  1. Scrolling is possible when preventScrollUnderneath="default"
  2. In Chrome (FF is OK) there is extra padding in the top right corner when Modal is open:
    image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions