fix: Disable custom scrollbars by default on iOS (#1133)

This commit is contained in:
sgenoud 2019-04-05 18:27:44 +02:00 committed by Nolan Lawson
parent 8549c3a79a
commit f6c8eb4055

View file

@ -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,