79232341

Date: 2024-11-28 01:39:35
Score: 0.5
Natty:
Report link

webstrand of the cascading-style-sheets Discord has pointed me in the right direction!

The issue appears to have been with scroll anchoring! He linked this page on the topic, which mentions both a way to determine what element is being used as a scroll anchor. In this case I determined that the text was being used to scroll anchor.

Utilising the suggested overflow-anchor: none; CSS property upon the grid or the items has stopped the unexpected scrolling!

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Smashman