ARTICLE AD BOX
I have a layout where:
Top section contains a job card
Below it, the page is split into two columns
Left column has long job list content (taller)
Right column has employer details (shorter)
I want this scrolling behavior:
When the user scrolls down, both left and right sections scroll normally.
When the right section reaches the bottom of the viewport (its content height is finished), it should freeze and become sticky.
After that, only the left section should continue scrolling.
When scrolling back up, the right section should unfreeze and scroll normally again.
How can I implement this in React?
