1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-23 10:24:29 +01:00

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,