File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,8 @@ Change log
57
57
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
58
58
## 4.2.1-dev
59
59
60
- - fix [ #1684 ] ( https://github.com/gridstack/gridstack.js/issues/1684 ) mac Safari H5 draggable broken in 4.0.1. Thanks [ @wurambo ] ( https://github.com/wurambo )
60
+ - fix [ #1684 ] ( https://github.com/gridstack/gridstack.js/issues/1684 ) [ #1550 ] ( https://github.com/gridstack/gridstack.js/issues/1550 ) mac Safari H5 draggable broken in 4.0.1. Thanks [ @wurambo ] ( https://github.com/wurambo )
61
+ - fix [ #1562 ] ( https://github.com/gridstack/gridstack.js/issues/1562 ) mac Safari page scroll fix
61
62
62
63
## 4.2.1 (2021-4-18)
63
64
Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ export class Utils {
293
293
294
294
/** @internal */
295
295
static getScrollParent ( el : HTMLElement ) : HTMLElement {
296
- if ( el === null ) return document . documentElement ;
296
+ if ( el === null ) return document . scrollingElement as HTMLElement ;
297
297
const style = getComputedStyle ( el ) ;
298
298
const overflowRegex = / ( a u t o | s c r o l l ) / ;
299
299
You can’t perform that action at this time.
0 commit comments