Releases: mickaelchanrion/rolly
Releases · mickaelchanrion/rolly
v0.4.0
v0.3.5
Bug fixes
- scenes not correctly hidden from the view in case the view is larger than its content
v0.3.4
Update modules
v0.3.3
Features
- add option: autoUpdate (
true
by default)
If true, Rolly will listen for resize events and refresh the cache according the new layout of the view.
v0.3.1
Features
- add 2 callbacks: changeStart and changeEnd
Improvements
- code style
- change the way of hiding a scene (⚡️ performance)
Just use transform to hide a scene instead of changing the visibility because this property will trigger paint. https://csstriggers.com/visibility
- use a private state
Bug fixes
- fix demos
- fix hiding scrollbar when page is not scrollable
Breaking changes
- change option 'direction' into 'vertical'
Improves the flow in the code (shorter 🙂)
if (this.options.vertical) {}
instead ofif (this.options.direction === 'vertical') {}
The documentation has been fully updated.