You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added React Hooks, in PR [#31](https://github.com/compulim/react-scroll-to-bottom/pull/31)
54
70
- Added [ESLint](https://www.npmjs.com/package/eslint) and [Prettier](https://www.npmjs.com/package/prettier), in PR [#31](https://github.com/compulim/react-scroll-to-bottom/pull/31)
55
71
56
72
### Fixed
73
+
57
74
- Fix `atStart` was not reporting correctly, in PR [#31](https://github.com/compulim/react-scroll-to-bottom/pull/31)
58
75
- Chrome: Fix scroll to bottom button should hide when using <kbd>TAB</kbd> to scroll the bottommost button into view, in PR [#46](https://github.com/compulim/react-scroll-to-bottom/pull/46)
59
76
60
77
## [1.3.2] - 2019-06-20
78
+
61
79
### Changed
80
+
62
81
-`*`: bumped to `babel-jest@24.8.0`, `lerna@3.15.0`, and `jest@24.8.0`, in PR [#22](https://github.com/compulim/react-scroll-to-bottom/pull/22)
63
82
64
83
### Fixed
84
+
65
85
-`Composer`: fix [#22](https://github.com/compulim/react-scroll-to-bottom/issue/22), synthetic `scroll` events crafted by Chrome should not cause stickiness to lose, in PR [#23](https://github.com/compulim/react-scroll-to-bottom/issue/23)
66
86
67
87
## [1.3.1] - 2019-02-13
88
+
68
89
### Changed
90
+
69
91
-`Composer`: fix [#13](https://github.com/compulim/react-scroll-to-bottom/issue/13), user scrolling in Firefox may have the scroll position locked occasionally, in PR [#12](https://github.com/compulim/react-scroll-to-bottom/pull/12)
70
92
-`SpineTo`: fix [#10](https://github.com/compulim/react-scroll-to-bottom/issue/10), set stopping threshold from `0.5` to `1.5`, in PR [#14](https://github.com/compulim/react-scroll-to-bottom/pull/14)
71
93
-`Composer`: fix [#15](https://github.com/compulim/react-scroll-to-bottom/issue/15), set near-end threshold from `0` to (less than) `1`, in PR [#16](https://github.com/compulim/react-scroll-to-bottom/pull/16)
72
94
73
95
## [1.3.0] - 2019-01-21
96
+
74
97
### Changed
98
+
75
99
- Playground: bumped to `react@16.6.0`, `react-dom@16.6.0`, and `react-scripts@2.1.6`
76
100
-`*`: Update algorithm, instead of using `componentDidUpdate`, we now use `setInterval` to check if the panel is sticky or not, this help to track content update that happen outside of React lifecycle, for example, `HTMLImageElement.onload` event
77
101
-`Composer`: `scrollTo()` now accepts `"100%"` instead of `"bottom"`
78
102
79
103
### Removed
104
+
80
105
- Removed `threshold` props because the algorithm is now more robust
81
106
82
107
## [1.2.0] - 2018-10-28
108
+
83
109
### Added
110
+
84
111
-`AutoHideFollowButton`: will now hide when it start animating scroll position
85
112
-`BasicScrollToBottom`: will now pass `debounce` and `threshold` to `Composer`, fix [#2](https://github.com/compulim/react-scroll-to-bottom/issues/2)
86
113
-`Composer`: `debounce` prop to control debouncing on `onScroll` event, default to `17`
@@ -91,6 +118,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
91
118
-`StateContext`: `atStart` indicates if the scroll position is at the start or not, depend on `mode`
92
119
93
120
### Changed
121
+
94
122
- Performance improvements
95
123
-`Context` is now separated into `FunctionContext`, `InternalContext` and `StateContext` for better performance and reduce exposure
96
124
-`FunctionContext` is static and only hold functions for manipulating the panel
@@ -101,9 +129,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
101
129
-[`lerna`](https://npmjs.com/package/lerna) bumped from `2.11.0` to `3.4.3`
0 commit comments