アクションシートの下部はみ出し問題修正

This commit is contained in:
harukin-OneMix4 2024-01-09 18:08:37 +09:00
parent 263cb750ce
commit 26d9037963
3 changed files with 5 additions and 5 deletions

View File

@ -265,9 +265,7 @@ export const EachTrainInfo = (props) => {
CustomHeaderComponent={<></>}
ref={actionSheetRef}
drawUnderStatusBar={false}
containerStyle={{
paddingBottom: insets.bottom,
}}
isModal={Platform.OS == "ios"}
>
<View
style={{

View File

@ -6,6 +6,7 @@ import {
Linking,
Text,
TouchableOpacity,
Platform,
} from "react-native";
import { Ionicons, MaterialCommunityIcons } from "@expo/vector-icons";
import ActionSheet, { useScrollHandlers } from "react-native-actions-sheet";
@ -21,6 +22,7 @@ export const JRSTraInfo = () => {
gestureEnabled
CustomHeaderComponent={<></>}
ref={actionSheetRef}
isModal={Platform.OS == "ios"}
>
<View
style={{

View File

@ -1,5 +1,5 @@
import React, { useState, useEffect } from "react";
import { View, Linking, Text, TouchableOpacity } from "react-native";
import { View, Linking, Text, TouchableOpacity, Platform } from "react-native";
import AutoHeightImage from "react-native-auto-height-image";
import { FontAwesome, Foundation, Ionicons } from "@expo/vector-icons";
import ActionSheet from "react-native-actions-sheet";
@ -45,7 +45,7 @@ export const StationDeteilView = (props) => {
? getPDFViewURL(currentStation[0].StationTimeTable)
: currentStation[0].StationTimeTable);
return (
<ActionSheet gestureEnabled CustomHeaderComponent={<></>}>
<ActionSheet gestureEnabled CustomHeaderComponent={<></>} isModal={false}>
<View
key={currentStation}
style={{