Skip to content

Suggestion: blocking scroll #5

Description

@tomasdev

Inspired by the use case of blocking scroll (also reactjs/react-modal#60)

Should we consider adding events into Preact Portal or make it add a class to the into? events such as onMount, onUnmount (to their respective preact methods,) or a preact-portal__shown class...

I'm just asking, I'm creating my own component that extends PreactPortal to achieve this. Wondering if it's a valid use case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions