アクションシートの下部はみ出し問題修正
This commit is contained in:
parent
263cb750ce
commit
26d9037963
@ -265,9 +265,7 @@ export const EachTrainInfo = (props) => {
|
||||
CustomHeaderComponent={<></>}
|
||||
ref={actionSheetRef}
|
||||
drawUnderStatusBar={false}
|
||||
containerStyle={{
|
||||
paddingBottom: insets.bottom,
|
||||
}}
|
||||
isModal={Platform.OS == "ios"}
|
||||
>
|
||||
<View
|
||||
style={{
|
||||
|
@ -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={{
|
||||
|
@ -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={{
|
||||
|
Loading…
Reference in New Issue
Block a user