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.

Tooltip-Popover not visible on top of all the views when popover-Placement is RIGHT

See original GitHub issue

onLongPress on emojis displaying toolTip-popOver when placement is TOP, LEFT, BOTTOM then all good, tooltips displaying correctly top of all emojis but problem is when the placement is RIGHT Look at the images below, the tooltip is visible but below the Imojis it should be on top.

Device/Setup Info:

  • OS: Android 6
  • react-native version: 0.63.4
  • react-native-popover-view version: ^3.1.1

Screenshots

Description Image
when PopverPlacement is TOP
when PopverPlacement is RIGHT

Debug Output when toolTop is on right side

when toolTop is on left side

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
SteffeyDevcommented, Apr 10, 2021

This is fascinating. However, it is probably something you can (and should) fix from your end. In TOOLTIP mode, the placement of the <Popover> in the hierarchy is important. If it is above an element in the JSX, it will show behind that element. If it is below an element, it will show on top of it. That is simply how JSX (and HTML) work, when no additional styles are applied. You can either adjust the placement of the <Popover> component, or use a zIndex in popoverStyle to force it to be displayed above other elements.

0reactions
SteffeyDevcommented, Aug 8, 2021

Closing due to inactivity

Read more comments on GitHub >

github_iconTop Results From Across the Web

bootstrap popover not showing on top of all elements
I had tooltips flickering, showing corectly only for half of the items on page, jumping from top to left continously, all kinds of...
Read more >
Popovers · Bootstrap v5.0
Popovers are opt-in for performance reasons, so you must initialize them yourself. Zero-length title and content values will never show a popover.
Read more >
Everything I Know About Positioning Poppers (Tooltips ...
Conceptually, the CSS used to position them is straightforward: you set position: absolute on the element and some top and left coordinates to ......
Read more >
How to Position a React-Bootstrap Popover - Pluralsight
Position the Popover Using the Placement Prop​​ It has been set to right ; hence the popover comes to the right of the...
Read more >
Popovers - Stacks
Dictates where to place the popover in relation to the reference element. By default, the placement value is bottom . Accepted placements are...
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