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 70 times
1
Farzaneh Pichlou
- 2,158
- 3
- 13
- 16
-
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