You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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';
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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