Skip to content

Commit cd3784d

Browse files
chore(runway): cherry-pick fix(ramp): enable WebView scrolling in Checkout on Android cp-7.61.1 (#24081)
1 parent 41db592 commit cd3784d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/components/UI/Ramp/Aggregator/Views/Checkout/Checkout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import {
4040
} from '../../../../../../component-library/components/Icons/Icon';
4141
import { useStyles } from '../../../../../../component-library/hooks';
4242
import styleSheet from './Checkout.styles';
43+
import Device from '../../../../../../util/device';
4344

4445
interface CheckoutParams {
4546
url: string;
@@ -256,6 +257,7 @@ const CheckoutWebView = () => {
256257
ref={sheetRef}
257258
shouldNavigateBack
258259
isFullscreen
260+
isInteractable={!Device.isAndroid()}
259261
keyboardAvoidingViewEnabled={false}
260262
>
261263
<BottomSheetHeader

app/components/UI/Ramp/Deposit/Views/Modals/WebviewModal/WebviewModal.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import { strings } from '../../../../../../../../locales/i18n';
2323
import { useStyles } from '../../../../../../../component-library/hooks/useStyles';
2424
import styleSheet from './WebviewModal.styles';
2525
import ErrorView from '../../../components/ErrorView';
26+
import Device from '../../../../../../../util/device';
2627

2728
export interface WebviewModalParams {
2829
sourceUrl: string;
@@ -61,6 +62,7 @@ function WebviewModal() {
6162
ref={sheetRef}
6263
shouldNavigateBack
6364
isFullscreen
65+
isInteractable={!Device.isAndroid()}
6466
keyboardAvoidingViewEnabled={false}
6567
>
6668
<BottomSheetHeader

0 commit comments

Comments
 (0)