-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If content is not clickable . How can we close drawer while clicking content. I want both content not clickable and close drawer when content is clicked :D #40
Comments
please help,i have the same issue |
@yarolegovich yeah, need the same behaviour implemented if possible. Would greately appreciate it. To clarify, when the drawer is opened we don't want the content to fetch the clicks, we just want the click to close the drawer back. Like the normal navigation drawer behaviour. |
add these lines to |
Use this instead. The previous fix disabled the sliding gesture from the left side of the screen to open menu. newRoot.setOnTouchListener( |
Close side drawer when pressing out side override fun onCreate(savedInstanceState: Bundle?) { |
No description provided.
The text was updated successfully, but these errors were encountered: