astro/packages
Jacob Groß acf652fc1d
feat(ViewTransitions): use scrollend instead of scroll where supported (#8156)
* feat(ViewTransitions): use `scrollend` instead of `scroll` where supported

The [scrollend](https://developer.chrome.com/blog/scrollend-a-new-javascript-event/#event-details) mechanism seems like a better way to record the scroll position compared to throttling, so we could use it whenever a browser supports it.

Additionally, I've removed the `{passive}` flag from the `scroll` event, as it does nothing ([source](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener?retiredLocale=de#improving_scrolling_performance_with_passive_listeners:~:text=You%20don%27t%20need%20to%20worry%20about%20the%20value%20of%20passive%20for%20the%20basic%20scroll%20event.%20Since%20it%20can%27t%20be%20canceled%2C%20event%20listeners%20can%27t%20block%20page%20rendering%20anyway.)).

* Create long-chefs-jump.md

* fix typo / update comment
2023-08-25 08:43:52 -04:00
..
astro feat(ViewTransitions): use scrollend instead of scroll where supported (#8156) 2023-08-25 08:43:52 -04:00
astro-prism [ci] release (rc) (#8147) 2023-08-22 10:19:18 -04:00
astro-rss Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00
create-astro Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00
integrations [ci] format 2023-08-24 14:40:44 +00:00
internal-helpers [ci] release (rc) (#8147) 2023-08-22 10:19:18 -04:00
markdown/remark Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00
telemetry Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00
underscore-redirects Update breaking dependencies (#8201) 2023-08-24 16:34:33 +08:00