Releases: Amphiluke/handy-scroll
Use AbortController
Respect the `hidden` attribute
Fix for a minor bug related to the case of applying the hidden
attribute to a <handy-scroll>
element (some details).
Minor update of docs and package metadata
Update the “Installation and import” section in README. Update package metadata.
Make handy-scroll a web component
Architecture and APIs of the widget have been revised radically by turning handy-scroll into a modern web component. Using of the handy-scroll component has become much simpler and mostly as declarative as using other HTML elements. Please refer the project’s README for details of the new way of using the component. The project’s webpage contains updated live demos (you may also play with these demos on codepen.io).
Caution
Version 2 of the handy-scroll component is backwards-incompatible with the version 1. If you still target older browsers which lack full support of the modern Web Components technologies, please stay on the version 1: it’s still available but is in the maintenance mode.
Revise widget removal from the DOM
Fix the issue #24 (thanks to @samharvey44).
Improve compatibility with Turbo
Internal changes that provide better compatibility with Turbo by Hotwire (PR #22).
Restore missing extension in a module specifier
Micro-hotfix for the issue #21.
Include CSS in explicit exports
Add CSS entries to the exports
field for proper bundling with Vite of similar build tools (PR #20).
Add TypeScript declaration file
Just add a .d.ts
file for TypeScript users (fixes the issue #16)
Destroy detached widgets & bug fixing
- Add the method
handyScroll.destroyDetached()
for finding and destroying “zombie” instances of the widget. - Fix the issue #14.