@speakapbv/dough-component-library 9.32.0 → 9.32.1

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/dist/index.es.js CHANGED
@@ -1125,8 +1125,7 @@ var Box = forwardRef(function (props, ref) {
1125
1125
  var _a;
1126
1126
  var _b, _c, _d, _e, _f, _g;
1127
1127
  var handleScroll = function (e) {
1128
- if (e.currentTarget.offsetHeight + e.currentTarget.scrollTop >=
1129
- e.currentTarget.scrollHeight) {
1128
+ if (Math.round(e.currentTarget.offsetHeight + e.currentTarget.scrollTop) >= e.currentTarget.scrollHeight) {
1130
1129
  if (props.onScrollReachedBottom) {
1131
1130
  props.onScrollReachedBottom(e);
1132
1131
  }
package/dist/index.js CHANGED
@@ -1110,8 +1110,7 @@ var Box = React.forwardRef(function (props, ref) {
1110
1110
  var _a;
1111
1111
  var _b, _c, _d, _e, _f, _g;
1112
1112
  var handleScroll = function (e) {
1113
- if (e.currentTarget.offsetHeight + e.currentTarget.scrollTop >=
1114
- e.currentTarget.scrollHeight) {
1113
+ if (Math.round(e.currentTarget.offsetHeight + e.currentTarget.scrollTop) >= e.currentTarget.scrollHeight) {
1115
1114
  if (props.onScrollReachedBottom) {
1116
1115
  props.onScrollReachedBottom(e);
1117
1116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakapbv/dough-component-library",
3
- "version": "9.32.0",
3
+ "version": "9.32.1",
4
4
  "description": "DOUGH: Speakap React Component Library",
5
5
  "author": "Speakap",
6
6
  "license": "MIT",