Open Bug 1768393 Opened 9 months ago Updated 9 months ago

scroll snap incorrectly snaps to a point where it's defined on an invisible element

Categories

(Core :: Layout: Scrolling and Overflow, defect, P3)

defect

Tracking

()

People

(Reporter: hiro, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file A test case

STR;

  1. Open the attachment in this comment
  2. Press arrow left key to scroll right

Actual result;
it snaps to 100px left of the blue box you can see after scrolling

Expected result;
it snaps to the left edge of the blue box

The reason why it snaps to 100px left is there's another snap target element but it's out of the scroll port.

You need to log in before you can comment on or make changes to this bug.