@vaadin/component-base 23.3.0 → 23.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/component-base",
3
- "version": "23.3.0",
3
+ "version": "23.3.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -42,5 +42,5 @@
42
42
  "@vaadin/testing-helpers": "^0.3.2",
43
43
  "sinon": "^13.0.2"
44
44
  },
45
- "gitHead": "41eff1d019abb6d1ae23e3d657ebc1a2308d36d6"
45
+ "gitHead": "f60f640b01fc4f03303a9bfd6ed137503a5ada52"
46
46
  }
@@ -39,7 +39,7 @@ const registered = new Set();
39
39
  export const ElementMixin = (superClass) =>
40
40
  class VaadinElementMixin extends DirMixin(superClass) {
41
41
  static get version() {
42
- return '23.3.0';
42
+ return '23.3.2';
43
43
  }
44
44
 
45
45
  /** @protected */
@@ -92,7 +92,7 @@ export class OverflowController {
92
92
  overflow += ' top';
93
93
  }
94
94
 
95
- if (target.scrollTop < target.scrollHeight - target.clientHeight) {
95
+ if (Math.ceil(target.scrollTop) < Math.ceil(target.scrollHeight - target.clientHeight)) {
96
96
  overflow += ' bottom';
97
97
  }
98
98
 
@@ -101,7 +101,7 @@ export class OverflowController {
101
101
  overflow += ' start';
102
102
  }
103
103
 
104
- if (scrollLeft < target.scrollWidth - target.clientWidth) {
104
+ if (Math.ceil(scrollLeft) < Math.ceil(target.scrollWidth - target.clientWidth)) {
105
105
  overflow += ' end';
106
106
  }
107
107