アクションシートの下部はみ出し問題修正
This commit is contained in:
parent
263cb750ce
commit
26d9037963
@ -265,9 +265,7 @@ export const EachTrainInfo = (props) => {
|
|||||||
CustomHeaderComponent={<></>}
|
CustomHeaderComponent={<></>}
|
||||||
ref={actionSheetRef}
|
ref={actionSheetRef}
|
||||||
drawUnderStatusBar={false}
|
drawUnderStatusBar={false}
|
||||||
containerStyle={{
|
isModal={Platform.OS == "ios"}
|
||||||
paddingBottom: insets.bottom,
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
|
@ -6,6 +6,7 @@ import {
|
|||||||
Linking,
|
Linking,
|
||||||
Text,
|
Text,
|
||||||
TouchableOpacity,
|
TouchableOpacity,
|
||||||
|
Platform,
|
||||||
} from "react-native";
|
} from "react-native";
|
||||||
import { Ionicons, MaterialCommunityIcons } from "@expo/vector-icons";
|
import { Ionicons, MaterialCommunityIcons } from "@expo/vector-icons";
|
||||||
import ActionSheet, { useScrollHandlers } from "react-native-actions-sheet";
|
import ActionSheet, { useScrollHandlers } from "react-native-actions-sheet";
|
||||||
@ -21,6 +22,7 @@ export const JRSTraInfo = () => {
|
|||||||
gestureEnabled
|
gestureEnabled
|
||||||
CustomHeaderComponent={<></>}
|
CustomHeaderComponent={<></>}
|
||||||
ref={actionSheetRef}
|
ref={actionSheetRef}
|
||||||
|
isModal={Platform.OS == "ios"}
|
||||||
>
|
>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React, { useState, useEffect } from "react";
|
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 AutoHeightImage from "react-native-auto-height-image";
|
||||||
import { FontAwesome, Foundation, Ionicons } from "@expo/vector-icons";
|
import { FontAwesome, Foundation, Ionicons } from "@expo/vector-icons";
|
||||||
import ActionSheet from "react-native-actions-sheet";
|
import ActionSheet from "react-native-actions-sheet";
|
||||||
@ -45,7 +45,7 @@ export const StationDeteilView = (props) => {
|
|||||||
? getPDFViewURL(currentStation[0].StationTimeTable)
|
? getPDFViewURL(currentStation[0].StationTimeTable)
|
||||||
: currentStation[0].StationTimeTable);
|
: currentStation[0].StationTimeTable);
|
||||||
return (
|
return (
|
||||||
<ActionSheet gestureEnabled CustomHeaderComponent={<></>}>
|
<ActionSheet gestureEnabled CustomHeaderComponent={<></>} isModal={false}>
|
||||||
<View
|
<View
|
||||||
key={currentStation}
|
key={currentStation}
|
||||||
style={{
|
style={{
|
||||||
|
Loading…
Reference in New Issue
Block a user