Sidebar doesn't accept taps anymore?
See original GitHub issueHey there,
My sidebar was working great pre-2.1.0 (the last version before < 2), but now when I click an item in the sidebar, the sidebar just closes and the original clicked item isn’t triggered.
Here is my configuration:
<DrawerIOS
content={sidebarContent}
disabled={!!this.props.modalValues.hasModals}
ref="drawer"
type="static"
onOpenStart={() => {
this._hideKeyboard();
this._setStatusBarHidden(true);
}}
onOpen={() => this.setState({isDrawerOpened: true})}
onCloseStart={() => this._setStatusBarHidden(false)}
onClose={() => this.setState({isDrawerOpened: false})}
openDrawerOffset={0.2}
panOpenMask={0.2}
captureGestures="open"
negotiatePan={true}
tapToClose={true}
styles={styles.ios}
tweenDuration={110}
tweenEasing="easeInOutCirc">
{content}
</DrawerIOS>
Do you see anything wrong that I am doing here that might have broken?
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
[Sidebar] doesn't close on mobile when a hamburger button is ...
Tap on sidebar icon (this will open sidebar); Tap on sidebar icon (in my case, this does not close sidebar) ...
Read more >How to Disable the Slide Over Sidebar on iPad - OSXDaily
Exiting settings as usual and then using the swipe gesture will then show the sidebar again. More.
Read more >Why the heck are bookmarks in the safari sidebar auto ...
The Safari Technology Preview (at least in Release 146 that I am testing right now) remembers the collapsed/expanded state of the sidebar. If ......
Read more >Task Manager Menu Bar and Tabs Are Not Visible
This behavior can occur if Task Manager is running in Tiny Footprint mode. When you double-click the empty space in the border around...
Read more >If your device doesn't appear in the sidebar when connected ...
Check that the cable is properly connected. · Make sure that the device is unlocked and the Home Screen is visible. · Check...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m experiencing the same issue
Any updates about this?
I did not experience this issue when I was running RN 0.24.1 with RN-drawer 2.0.0
But since I’ve updated my RN to 0.31.0 and RN-drawer to 2.2.6 I’m facing this issue.
Now I cannot recreate either. It seems to be sproradic, maybe related to wether chrome debugger is open? I am open to suggestions for how to resolve.