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,
|
||||
currentRegisteredInstanceName: undefined,
|
||||
currentRegisteredInstance: undefined,
|
||||
disableCustomScrollbars: false,
|
||||
// we disable scrollbars by default on iOS
|
||||
disableCustomScrollbars: process.browser && /iP(?:hone|ad|od)/.test(navigator.userAgent),
|
||||
disableHotkeys: false,
|
||||
disableLongAriaLabels: false,
|
||||
disableTapOnStatus: false,
|
||||
|
|
Loading…
Reference in New Issue