Skip to content

makeup-modal: use inert attribute when hoist option is true #195

@ianmcburnie

Description

@ianmcburnie

When the hoist option is true, the targeted modal element will be hoisted up the DOM tree and becomes a child of body. Given this, we can just set the inert property on all other siblings of target element if inert is supported (and fallback to our existing logic if not)

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