Skip to content
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

Swipe down in mobile closes drawer #21

Open
lchandramohan opened this issue Oct 1, 2019 · 2 comments
Open

Swipe down in mobile closes drawer #21

lchandramohan opened this issue Oct 1, 2019 · 2 comments

Comments

@lchandramohan
Copy link

Hi,

I am currently developing reactjs application which used as a webview in Hybrid Mobile Application.

My Reactjs application using React-Drag-drawer. My drawer is having more content with scroll.

But I am facing weird issue that Scrolling up(swipe up) is working fine but when i scrolling down, drawer is closing in mobile.

Please help me to resolve this issue.

This issue is same as #18. Please reply if anyone fixed the issue.

<Drawer open={open} onRequestClose={this.toggle} direction='bottom' modalElementClass="points-slide-wrapper" > </Drawer>

toggle = () => { let toggle = this.state.toggle; this.setState({ toggle: !toggle }) }

.points-slide-wrapper { height: 95%; bottom: 0%; margin: auto; width: 100%; padding-top: 130px; z-index: 60000; display: none; text-align: center; -webkit-overflow-scrolling: touch; }

@nimahkh
Copy link

nimahkh commented Apr 25, 2021

I have this problem also and checked the demo , my code is exactly same with demo, but it is not working @hanford

@dmarczal
Copy link

@nimahkh Same problem here. Have you found the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants