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.

How to make absolute positioned elements overlap re-flex container

See original GitHub issue

Hi,

Thanks for this great tool! However, I got an issue when I try to do something like http://front-back.com/how-to-make-absolute-positioned-elements-overlap-their-overflow-hidden-parent

<div class='reflex-element'>
  <div style='height: 100%; width: 100%;'>
    <MyComponent>
  </div>
</div>

My question is, how can I make MyCompoent overlap the reflex-element?

Thanks!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
JunyuanZhengcommented, Jan 9, 2018

Thank you so much!

0reactions
leefsmpcommented, Dec 1, 2021

seems over complicated to me, why don’t you add an overlay div on top of the reflex container and use pointer-events: none on it so it doesn’t block user interaction?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to make absolute positioned elements overlap their ...
This is a good technique, however the downfall is that if the container is scrollable, the absolutely positioned item will not scroll with...
Read more >
Prevent Absolute positioned Div from overlapping
With flex you can change the order of elements and by doing so, you can set the "text div" before the "svg", make...
Read more >
Advanced layouts with absolute and fixed positioning
Absolutely positioned elements are removed entirely from the document flow. They will overlap other content unless you make room for them. If all...
Read more >
Conflicting Absolute Positions - A List Apart
A div is rectangular. · Only one corner of a div can be absolutely positioned on a page. · The location of the...
Read more >
Overlap Elements With CSS Grid Instead Of Position Absolute
We can use CSS absolute positioning to overlap elements, but there's some advantages to using CSS grid instead. Let's explore using CSS grid ......
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