Skip to content

Releases: swup/scroll-plugin

4.0.0

04 Aug 17:55
4533a80

Choose a tag to compare

  • Drop dependency on gmrchk/scrl in favor of a native scroll implementation
  • Support nested scroll containers
  • Support scrolling both axis (top, left)
  • New option scrollFunction to customize the scroll implementation
  • Added unit and end-to-end tests

3.3.2

05 Feb 12:56
45c9702

Choose a tag to compare

  • Pass temporary visit into scroll hooks

3.3.1

28 Sep 12:23
216bf10

Choose a tag to compare

  • Use @swup/cli for bundling

3.3.0

21 Aug 07:39
b681024

Choose a tag to compare

  • Emulate CSS :target selector as [data-swup-scroll-target]

3.2.1

21 Aug 07:31
f608722

Choose a tag to compare

  • Fix scroll position reset on history visits

3.2.0

20 Aug 19:23
55ff451

Choose a tag to compare

  • Allow controlling scroll animation in visit.scroll.animate
  • Fix scrolling before animation
  • Fix scroll position reset on API visits

3.1.1

10 Aug 10:53
db19190

Choose a tag to compare

  • Port to typescript
  • Fix regression where scroll positions always were reset
  • Requires swup >=4.2.0

3.1.0

09 Aug 11:52
6fce953

Choose a tag to compare

  • Allow updating hash and scroll target separately

3.0.0

26 Jul 09:54
af4e994

Choose a tag to compare

  • Swup 4 compatibility

2.0.3

12 Jun 17:20
da12a1f

Choose a tag to compare

  • Make the plugin options optional for cleaner TypeScript support