Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.

Prevent click and scroll underneath drawer #50

Closed
vonwao opened this issue May 30, 2018 · 3 comments
Closed

Prevent click and scroll underneath drawer #50

vonwao opened this issue May 30, 2018 · 3 comments

Comments

@vonwao
Copy link

vonwao commented May 30, 2018

Clicks on the grayed-out overlay generate click events in the component behind the drawer.

You can also scroll the content behind the drawer. (I think in most cases that's not desirable).

@kevinthecity
Copy link

Also would love to see this

@Redmega
Copy link
Collaborator

Redmega commented Jul 3, 2018

So this is fixed by #51, but introduces some hard coded styling to the body, which might interfere with the users' styling. I'm not satisfied by that approach but I'm not sure if a better alternative exists, so I may merge it regardless.

@Redmega
Copy link
Collaborator

Redmega commented Jul 3, 2018

also just realized this is a duplicate of #24, so closing and moving conversation there.

@Redmega Redmega closed this as completed Jul 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants