v1.4.0
NO Breaking Change
- Feat(all): Add
handleLoadto ref for manual loading of items (previously only supported user scroll trigger). Fix https://github.com/suhaotian/broad-infinite-list/issues/11 - Feat(all):
itemKey/scrollToKeynow supportnumber|string; previously onlystringwas supported, which was not convenient - Feat(all): Add
upOffsetfor up-direction scroll restoration when the position is incorrect sometimes - Examples: Improve example styles
- README: Add FAQ section. Fix https://github.com/suhaotian/broad-infinite-list/issues/9
Full Changelog: https://github.com/suhaotian/broad-infinite-list/compare/v1.3.1...v1.4.0
v1.3.1
- Fix(all): List gets stuck when onLoadMore returns [] with sentinel still visible. Ref: issues#7
- Example(react): Add
Infinite-List-to-DetailDemo and close issue#6. Visit demo - Others: fix typos
Thanks @arv Made his first contribution 🧨🚀
- @arv made their first contribution in https://github.com/suhaotian/broad-infinite-list/pull/8
Full Changelog: https://github.com/suhaotian/broad-infinite-list/compare/v1.3.0...v1.3.1
v1.3.0
- Feat(React/Vue): Support new props:
containerAs/as/itemAs/itemClassName/itemStyle - Feat(ReactNative): Add
ScrollViewPropssupport - Feat(All): add
getTopDistance() => numberandgetBottomDistance() => numberto ref - Feat(React/Vue): add
headerSlotandfooterSlotfor table usecase
Full Changelog: https://github.com/suhaotian/broad-infinite-list/compare/v1.2.3...v1.3.0
v1.2.3
Fix(vue): scroll restoration not working on iOS Safari after load more
Full Changelog: https://github.com/suhaotian/broad-infinite-list/compare/v1.2.2...v1.2.3
v1.2.2
- Keep use
use-next-tickbut withuseNextTickLayoutfrom new version ofuse-next-tick - Improve example
- Make repo public
Full Changelog: https://github.com/suhaotian/broad-infinite-list/compare/v1.2.1...v1.2.2
v1.2.1
- Revert
use-next-tick, This causes scroll flashing in iOS Safari. - Fix ChatGPT and Claude demo style on iOS safari.
- Perf(react): observe child list elements
subtree: falsefor better performance.
Full Changelog: https://github.com/suhaotian/broad-infinite-list/compare/v1.2.0...v1.2.1
v1.2.0
- Improve React version code to make it more robust.
- Improve React Native version code to make it more robust.
- Switch
useLayoutEffectto theuse-next-tickpackage hook for react version. - Add more examples, such as ChatGPT- and Claude-style themed infinite chat lists.
Full Changelog: https://github.com/suhaotian/broad-infinite-list/compare/v1.1.4...v1.2.0
v1.1.4
- Fix Vue scroll up restore scroll behaviour
Full Changelog: https://github.com/suhaotian/broad-infinite-list/compare/v1.1.3...v1.1.4
v1.1.3
Minor update and Add e2e tests
Full Changelog: https://github.com/suhaotian/broad-infinite-list/compare/v1.1.2...v1.1.3