Skip to content

Commit b329adb

Browse files
committed
Fix ios scroll lock on countrySelectorModal
1 parent f9818bf commit b329adb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/countrySelectorModal.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default function CountrySelectorModal({ shown, onClose, currentCountry, o
7777
overlay: {
7878
background: 'rgba(0, 0, 0, 0.8)',
7979
backdropFilter: 'blur(10px)',
80-
overflow: 'hidden'
80+
overflow: 'auto'
8181
}
8282
}}
8383
>
@@ -108,8 +108,9 @@ export default function CountrySelectorModal({ shown, onClose, currentCountry, o
108108
<div style={{
109109
flex: 1,
110110
minHeight: 0,
111-
overflowY: 'auto',
111+
overflowY: 'scroll',
112112
overflowX: 'hidden',
113+
WebkitOverflowScrolling: 'touch',
113114
display: 'grid',
114115
gridTemplateColumns: 'repeat(auto-fill, minmax(min(160px, 100%), 1fr))',
115116
gap: '8px',

0 commit comments

Comments
 (0)