Skip to content

Releases: smastrom/vue-use-fixed-header

v2.0.3

05 Feb 19:03
Compare
Choose a tag to compare

Release notes

Add pointer listeners to target's ref instead of document to reduce unnecessary overhead.

v2.0.2

27 Jan 18:12
a592db3
Compare
Choose a tag to compare

Release notes

  • Remove unnecessary getScrollTop call - #2 - Thanks @bcastlel
  • Correct typo in useFixedHeader return type declaration - #3 - Thanks @bcastlel

v2.0.1

10 Jan 18:55
Compare
Choose a tag to compare

Release notes

Fix transitionOpacity union type declaration which was missing Ref/ComputedRef - Thanks @bcastlel - #1

v2.0.0

16 Nov 12:05
Compare
Choose a tag to compare

Release notes

vue-use-fixed-header is a package that I published on NPM some months ago as I needed something like it for my professional projects. Very soon I decided to unpublish it (at that time, it had less than 50 weekly downloads).

That's because I realized that many of the advanced functionalities I had implemented were unnecessary (e.g. scroll speed, scroll restoration) and that I could have achieved a good outcome with a much simpler codebase.

I also wanted to include a streamlined API that will still work the moment View Transitions will be supported by all browsers and everything this package does can be done with CSS.

Install it now:

pnpm add vue-use-fixed-header