Skip to content

Add overlay/obfuscator  #35

Description

@MaxInMoon

An overlay (like behind drawers) could add two benefices:

  • handle the click on it to close the mfb or whatever
  • add a custom background color with opacity (like 0.1)

I imagine this new props:

overlay: bool (default: false)

closeOnOverlayClick: bool (default: true)

overlayClick: func (optional)

overlayBackgroundColor: string (default: 'transparent')

overlayBackgroundOpacity: numb (default: 0')


How do you feel with this ideas?
Thanks

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