Not able to click on child component
See original GitHub issueAs title, I’m not able to click on any TouchableHighLight which is the child of Drawer.
I have configured as the following snippet
<Drawer ref={c => this.drawer = c} type={'displace'} openDrawerOffset={100} closedDrawerOffset={0} panOpenMask={.1} panCloseMask={.9} relativeDrag={false} content={navLayout} styles={drawerStyles} tapToClose={false} negotiatePan={true} side={'left'}> CHILD COMPONENT </Drawer>
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
Clicking a child component affects parent in an unexpected way
When the item is shown, and when it's clicked, this runs: ... If it's not connected, the element is no longer in the...
Read more >37. Triggering child component Button click Event and catch it ...
Your browser can't play this video. ... Triggering child component Button click Event and catch it in parent component - Angular Testing.
Read more >How to show/hide via btn click from parent component?
In handleshowHide function we are checking if label is show then setting it hide else setting it show. Then calling the child function...
Read more >How to call the child component function from the parent ...
In this article, we will see how to the call child component function ... when the button is clicked, there is no direct...
Read more >Pass data to child component with`@click` - Laracasts
That passes the "clicked" data but I can't assign it to any properties. item is an object. Copy Code props: ['item'], data() ...
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
What worked for me was to set PanCloseMask to a lower value
panCloseMask: .2
I came across the exact issue and what I did was adjusting panCloseMask so that the child component onPress event get triggered, not very ideal but it works for now