When using Inertia.js with scroll-behavior: smooth set in CSS, clicking an anchor hash link (e.g., <a href="…
When using Inertia.js with scroll-behavior: smooth set in CSS, clicking an anchor hash link (e.g., <a href="…: a task in LegoFlow-SWE (Harbor dataset). Expected behavior: Clicking an anchor hash link should scroll the page to the target element. If the element cannot scroll fully to the top of the…
The task
**Expected behavior:** Clicking an anchor hash link should scroll the page to the target element. If the element cannot scroll fully to the top of the viewport (because there isn't enough content below it), clicking the link again should do nothing — the page should remain in place.
Part of Lego-X/LegoFlow-SWE.