Adam Shaw %!s(int64=5) %!d(string=hai) anos
pai
achega
6ec480da83

+ 1 - 1
packages/__tests__/src/legacy/eventLimit.js

@@ -190,7 +190,7 @@ describe('dayMaxEventRows', function() { // TODO: rename file
 
         rowHeights.forEach((rowHeight) => {
           let diff = Math.abs(rowHeight - aveHeight)
-          expect(diff).toBeLessThan(2)
+          expect(diff).toBeLessThan(4)
         })
       })
 

+ 4 - 4
packages/core/src/scrollgrid/Scroller.tsx

@@ -59,14 +59,14 @@ export default class Scroller extends BaseComponent<ScrollerProps> implements Sc
 
 
   needsXScrolling() {
-    return this.el.scrollWidth > this.el.clientWidth + 1 || // IE shittiness
-      this.props.overflowX === 'auto' && Boolean(this.getXScrollbarWidth()) // hack safeguard
+    return this.el.scrollWidth > this.el.clientWidth // + 1 || // IE shittiness
+      // this.props.overflowX === 'auto' && Boolean(this.getXScrollbarWidth()) // hack safeguard
   }
 
 
   needsYScrolling() {
-    return this.el.scrollHeight > this.el.clientHeight + 1 || // IE shittiness
-      this.props.overflowY === 'auto' && Boolean(this.getYScrollbarWidth()) // hack safeguard
+    return this.el.scrollHeight > this.el.clientHeight // + 1 || // IE shittiness
+      // this.props.overflowY === 'auto' && Boolean(this.getYScrollbarWidth()) // hack safeguard
   }