Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Bug: child elements of a hidden modal can overlay other content and be interacted with #90

@dlavrenuek

Description

@dlavrenuek

Right now a closed modal is hidden in the UI with opacity: 0 and pointer-events: none. While this seems to hide the modal and make it's children unreachable for user interaction, the modal is still in the middle of the page and some interaction is still possible. I have discovered that the resize element of a textarea overlays all other content and can be interacted with.

Setting visibility: hidden on a modal's first .container and visibility: visible on .container.open seems to fix the problem.

Tested on MacOS Chrome 96

Bildschirmfoto 2021-12-22 um 09 39 24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions