On load not able to touch in screen. #2611
pavan-hr1621
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
this is my code and if i comment this line
backdropComponent={renderBackdrop}then it's working and i m able to touch but as soon i uncomment the code i m not able to touch in my screen i don't know what causing the issue if anyone could fix this please let me know.
`import React, { useCallback, useMemo, useRef, useState } from 'react';
import { View, Text, TouchableOpacity, StyleSheet, FlatList } from 'react-native';
import BottomSheet, { BottomSheetBackdrop, BottomSheetView } from '@gorhom/bottom-sheet';
import { useTheme } from '../context/ThemeContext';
import globalStyles from '../styles/globalStyles';
import { SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context';
import FloatingLabelInput from '../components/FloatingLabelInput';
// import { Icon } from 'react-native-vector-icons/Icon';
import Icon from 'react-native-vector-icons/Ionicons';
import { Easing } from 'react-native-reanimated';
import { createList } from '../api/places';
const SaveListScreen = ({ navigation }) => {
const { theme } = useTheme();
const bottomSheetRef = useRef(null);
const insets = useSafeAreaInsets();
const [name, setName] = useState('');
const [description, setDescription] = useState('');
const [privacy, setPrivacy] = useState('Private'); // default
};
const bottomsheet = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'white',
borderTopLeftRadius: 16,
borderTopRightRadius: 16,
height: "100%"
// overflow: 'hidden',
// position: "relative"
},
})
export default SaveListScreen;
`
Beta Was this translation helpful? Give feedback.
All reactions