diff --git a/src/features/MatchPage/index.tsx b/src/features/MatchPage/index.tsx index 84a4df47..a98836c5 100644 --- a/src/features/MatchPage/index.tsx +++ b/src/features/MatchPage/index.tsx @@ -13,6 +13,7 @@ import { FavoritesActions } from 'requests' import { ProfileTypes } from 'config' import { client } from 'config/clients' +import { isIOS } from 'config/userAgent' import { usePageLogger } from 'hooks/usePageLogger' import { usePageParams } from 'hooks/usePageParams' @@ -65,7 +66,7 @@ const MatchPageComponent = () => { history.push(`/${sportName}/tournaments/${profile.tournament.id}`) } return ( - +
diff --git a/src/features/PageLayout/styled.tsx b/src/features/PageLayout/styled.tsx index 8e567962..832a2d9e 100644 --- a/src/features/PageLayout/styled.tsx +++ b/src/features/PageLayout/styled.tsx @@ -3,8 +3,9 @@ import styled, { css } from 'styled-components/macro' import { isMobileDevice } from 'config/userAgent' import { customScrollbar } from 'features/Common' -export const PageWrapper = styled.div` +export const PageWrapper = styled.div<{isIOS?: boolean}>` width: 100%; + touch-action: ${({ isIOS }) => (isIOS ? 'none' : 'unset')}; ` export const Main = styled.main`