question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Navigating back to screen from e.g. screen A -> B -> A causes ContextMenuView to disappear from this.props.navigation.navigate

See original GitHub issue

https://user-images.githubusercontent.com/53418441/147514124-c4168bdc-9a65-4c31-80fd-d4e15c046378.mp4

<Pressable style={styles.row} onPress={() => { this.props.navigation.navigate("View Note", { note: item } ); }}> <ContextMenuView onPressMenuItem={({nativeEvent}) => { alert(onPressMenuItem nativeEvent: ${JSON.stringify(nativeEvent)}) }} menuConfig={{ menuTitle: 'Actions', menuItems: [{ actionTitle: 'Delete', actionSubtitle: 'Delete me!', actionKey: '1', }] }}> <View style={{paddingVertical: 5, flexDirection:"row"}} > <Text style={{flex:1}}>{item.subject} </Text> <Text style={{marginRight:15}}>{item.date}</Text> </View> <Text>{item.note.slice(0, 100) + (item.note.length > 100 ? "..." : "")}</Text> </ContextMenuView> <View style={{paddingVertical: 5, flexDirection:"row"}} > <Text style={{flex:1}}>{item.subject} </Text> <Text style={{marginRight:15}}>{item.date}</Text> </View>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
remento-matheuscommented, Mar 28, 2022
1reaction
marcosrdzcommented, Jan 26, 2022

same issue here. Even downgrade to 1.7.1 or 1.7.0 didn’t help. Any suggestions?

I was on 1.3.0 prior to updating to 1.7.2 and seeing this issue. Went back to 1.3.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

TortoiseSVN 1.8.7 PT BR | PDF | Controle de versão - Scribd
Pgina de propriedade do explorador, aba do Subversion . ... We are going to checkout the Widget1 folder of our repository into
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found