Hi,
I have been trying out the new Div element’s Sticky setting. However, it appears not to be doing what I expect (or I am using it incorrectly!) and I wonder if there is something amiss?
My setup is as follows:
- Section
– Grid (2fr 1fr)
— Cell 1
---- Text (loads of content to ensure scrolling occurs)
— Cell 2
---- Div (position: Sticky; Top: 200px)
----- Image
The Div has its position set to Sticky with Top set to 200px.
I had expected that when scrolling, the Div in Cell 2 would become sticky 200px from the top of the screen, just below the header. Instead, it continued scrolling just as position: Relative.
I have tried this on two websites, both fully (earlier this afternoon) up-to-date with Pro 6.4.10.
Have I found a bug, or have I misunderstood the new setting?
Thanks,
Christopher