diff --git a/src/helpers.ts b/src/helpers.ts index 9d2dd9f..0249b61 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -41,7 +41,6 @@ const isSafari = () => getBrowser() === 'safari' || isMobileSafari(); type ListRef = { tabIndex: number; - focus: () => void; }; /** @@ -59,7 +58,6 @@ const setListAttributes = (ref: ListRef | undefined) => { */ // eslint-disable-next-line no-param-reassign ref.tabIndex = -1; - ref.focus(); }; export {getBrowser, isMobileSafari, isSafari, setListAttributes};