Releases: compulim/react-scroll-to-bottom
Releases · compulim/react-scroll-to-bottom
[1.2.0] - 2018-10-28
Added
AutoHideFollowButton: will now hide when it start animating scroll positionBasicScrollToBottom: will now passdebounceandthresholdtoComposer, fix #2Composer:debounceprop to control debouncing ononScrollevent, default to17FunctionContext:scrollTonow support"bottom", in addition to anumber, fix #1- This will help when animating scroll position while new content was added to the panel
FunctionContext:scrollToStartfunction to scroll to the start, depends onmodeStateContext:animatingreturnstrueif the scroll position is being animatedStateContext:atStartindicates if the scroll position is at the start or not, depend onmode
Changed
- Performance improvements
Contextis now separated intoFunctionContext,InternalContextandStateContextfor better performance and reduce exposureFunctionContextis static and only hold functions for manipulating the panelInternalContextis static and for internal use (to overcome shortcomings ofReact.createRef)StateContextis dynamic and change when scroll position change
StateContextwill now only update if there are any meaningful changes
- Added
displayNameto context lernabumped from2.11.0to3.4.3
[1.1.0] - 2018-06-22
Added
- Container class name
[1.0.0] - 2018-06-17
Added
- Initial release