fix: Disable custom scrollbars by default on iOS (#1133)
This commit is contained in:
parent
8549c3a79a
commit
f6c8eb4055
|
@ -10,7 +10,8 @@ const persistedState = {
|
||||||
currentInstance: null,
|
currentInstance: null,
|
||||||
currentRegisteredInstanceName: undefined,
|
currentRegisteredInstanceName: undefined,
|
||||||
currentRegisteredInstance: undefined,
|
currentRegisteredInstance: undefined,
|
||||||
disableCustomScrollbars: false,
|
// we disable scrollbars by default on iOS
|
||||||
|
disableCustomScrollbars: process.browser && /iP(?:hone|ad|od)/.test(navigator.userAgent),
|
||||||
disableHotkeys: false,
|
disableHotkeys: false,
|
||||||
disableLongAriaLabels: false,
|
disableLongAriaLabels: false,
|
||||||
disableTapOnStatus: false,
|
disableTapOnStatus: false,
|
||||||
|
|
Loading…
Reference in a new issue