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.

Error while wrapping the PopOver inside a Text element

See original GitHub issue

<Text> <Text style={styles.sectionTitle} onPress={() => this.setState({isVisible: true})} ref={(ref) => (this.touchable = ref)}> Click here to show PopOver </Text> <View style={styles.popover}> <Popover isVisible={this.state.isVisible} fromView={this.touchable} placement={'bottom'} onRequestClose={() => this.closePopover()}> <Text>ReactNativePopOverViewSuccessfull</Text> </Popover> </View> </Text>

code shown above is from my poc . In my actual project all of my components are dynamically created and i need to show popover to a particular text component, so i tried wrapping up the popover inside the text component but it fires error while clicking the text component

Device/Setup Info:

  • OS: Android 10
  • react-native version: 0.61.5
  • react-native-popover-view version: 2.1.0

Screenshots 1589542419685

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
SteffeyDevcommented, Oct 11, 2020

@krakzk Which issue are you having? The library API has changed significantly since this issue was closed, so the solution may not be the same on the latest version.

1reaction
SteffeyDevcommented, May 16, 2020

@abinnellithanam how did you fix? Asking to help future people with same issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Bug Report] Text wrap cuts words in half in popover #8816
Element UI version 2.0.8 OS/Browsers version macOS High Sierra / Chrome 62 Vue ... When the popover opens text content is wrapped mid-word....
Read more >
Observed this Error: Material-UI: The `anchorEl` prop provided ...
This error happened to me when there was suspense state in the popper content. Wrapping the content in a suspense block fixed the...
Read more >
Popovers - Bootstrap
Popovers for .disabled or disabled elements must be triggered on a wrapper element. When triggered from anchors that wrap across multiple lines, popovers...
Read more >
Message Popover | SAP Fiori Design Guidelines
If an error occurs at a validation point, the corresponding message is added to message popover automatically, without interrupting the user.
Read more >
Bootstrap Popovers - examples & tutorial
When triggered from anchors that wrap across multiple lines, popovers will be centered between the anchors' overall width. Use .text-nowrap on your <a>...
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