react-native-drax 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -1
- package/build/DraxScrollView.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,11 @@ Changes marked as (BREAKING) may break your app logic. Changes marked as (BREAKI
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
- Nothing yet
|
|
11
11
|
|
|
12
|
+
## [0.9.3] - 2021-12-14
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
- Fixed typo-based math error in auto-scroll logic (#126)
|
|
16
|
+
|
|
12
17
|
## [0.9.2] - 2021-12-08
|
|
13
18
|
|
|
14
19
|
### Fixed
|
|
@@ -206,7 +211,8 @@ Changes marked as (BREAKING) may break your app logic. Changes marked as (BREAKI
|
|
|
206
211
|
|
|
207
212
|
*(More history to be added later)*
|
|
208
213
|
|
|
209
|
-
[Unreleased]: https://github.com/nuclearpasta/react-native-drax/compare/v0.9.
|
|
214
|
+
[Unreleased]: https://github.com/nuclearpasta/react-native-drax/compare/v0.9.3...HEAD
|
|
215
|
+
[0.9.3]: https://github.com/nuclearpasta/react-native-drax/compare/v0.9.2...v0.9.3
|
|
210
216
|
[0.9.2]: https://github.com/nuclearpasta/react-native-drax/compare/v0.9.1...v0.9.2
|
|
211
217
|
[0.9.1]: https://github.com/nuclearpasta/react-native-drax/compare/v0.9.0...v0.9.1
|
|
212
218
|
[0.9.0]: https://github.com/nuclearpasta/react-native-drax/compare/v0.8.2...v0.9.0
|
package/build/DraxScrollView.js
CHANGED
|
@@ -76,7 +76,7 @@ const DraxScrollViewUnforwarded = (props, forwardedRef) => {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
if (autoScrollState.y === types_1.AutoScrollDirection.Forward) {
|
|
79
|
-
const yMax = contentSize.y - containerMeasurements.
|
|
79
|
+
const yMax = contentSize.y - containerMeasurements.height;
|
|
80
80
|
if (scrollPosition.y < yMax) {
|
|
81
81
|
yNew = Math.min(scrollPosition.y + jump.y, yMax);
|
|
82
82
|
}
|