I have a container that contains a sidebar and a content wrapper. I need to set overflow
of container to auto
, but the sidebar sticky
position don't work when it's parent has the overflow:auto
style!
Asked
Active
Viewed 95 times
1

Farzaneh Torkpichlou
- 2,306
- 3
- 14
- 18
-
Ah, best to show all of your code as otherwise it will cause confusion to those trying to help – jaydeep patel Jan 28 '20 at 13:45
-
you need to remove overflow, it's the only solution or use JS to simulate a sticky behavior – Temani Afif Jan 28 '20 at 13:46