<Popper> that references a target inside an overflow:hidden container?
See original GitHub issueI have poppers that are rendered inside overflow:hidden
containers; this causes the poppers to be partially hidden/cropped.
@FezVrasta has indicated that this should be achievable by putting the <Popper>
somewhere outside of the overflow:hidden
container have it reference the target.
I’m not sure how to do this with react-popper
, though. Any ideas/advice?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
<Popper> that references a target inside an overflow:hidden ...
I have poppers that are rendered inside overflow:hidden containers; this causes the poppers to be partially hidden/cropped.
Read more >Prevent Overflow - Popper
The preventOverflow modifier prevents the popper from being cut off by moving it so that it stays visible within its boundary area. Don't...
Read more >Everything I Know About Positioning Poppers (Tooltips ...
To solve this, Popper attaches a scroll listener to the container and on each fired scroll event, recalculates the position of the popper....
Read more >Bootstrap dropdown clipped by overflow:hidden container ...
My question, how can I solve this clipping issue, e.g. change the container of all dropdowns inside my project to be body ,...
Read more >How to Build a Dynamically Positioned Popover with Popper ...
js in Divi to create a dynamically positioned popover (the pop-up box) that is revealed when clicking on the popover's reference (the button)....
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 FreeTop 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
Top GitHub Comments
You have two possibilities:
react-portal
to move the popper element somewhere else (usuallybody
):I found a work-around:
I think I’m just gonna roll with this for now. Thanks for the tip on portal and quick responses!