Absolute position problem when scrolling
I'm having a problem with an abolute positioned element when scrolling, it moves and overflows the container:
https://codepen.io/n00bCod3r/pen/XWQaZbz
I tried adding a position relative to the container, but it gets cut:
4 Replies
Make the container position: relative; and remove the overflow-y: auto;
The overflow must stay there unfortunately :c
This is a simple example, but this piece of code is inside an Angular component that must overflow based on the dynamic height of a header component, that can be expanded
Could you use visible instead of auto then?
I'll try in my component and see how it reacts
That seems to work, even if the scrollbar upper part gets hidden it's still functional
Marking this as solved, cheers