react-drag-drawer icon indicating copy to clipboard operation
react-drag-drawer copied to clipboard

Swipe down in mobile closes drawer

Open lchandramohan opened this issue 4 years ago • 2 comments

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; }

lchandramohan avatar Oct 01 '19 11:10 lchandramohan

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

nimahkh avatar Apr 25 '21 12:04 nimahkh

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

dmarczal avatar Sep 20 '22 10:09 dmarczal