This repository has been archived by the owner on Dec 2, 2021. It is now read-only.
CoverLayout & LinkedListViewSequence
New:
- Added new layout: CoverLayout (thanks to @manualoverdijk / Bizboard) !
- BREAKING CHANGE: Added all new LinkedListViewSequence class to replace the stock famo.us ViewSequence class. ViewSequence has various known issues when inserting/removing/moving items which causes "ViewSequence corruptions". The new LinkedListViewSequence class resolves all these issues. ScrollController and FlexScrollView automatically create a LinkedListViewSequence data-source when you push items to it, or when an Array is passed as a data-source. If you're explicitly using ViewSequence from your code, replace it with LinkedListViewSequence and pass that to FlexScrollView.
Improvements:
- Improved performance in ScrollController when pagination was used. Elements are now added/removed to and from the DOM before and after the paginated-scrolling, fixing any hickups that could occur during the scroll itself.
- Added size argument to ListLayout itemSize callback.
Fixes:
- Fixed rare bug where
ScrollController.ensureVisible
didn't always scroll the item into view (physics-engine remained a sleep).