Skip to content

[ ios ] when bottom sheet is open, toastify-react-native's Toast doesn't work #203

@minhdandys2

Description

@minhdandys2

"react-native-raw-bottom-sheet": "^3.0.0",
"toastify-react-native": "^7.2.0",

import ToastManager, { Toast } from 'toastify-react-native'

  <ToastManager
        theme={themeType}
        position={'top'}
        showProgressBar
        showCloseIcon
        animationStyle='fade'
      />
 <RBSheet
      ref={refBottomSheet}
      draggable
      // dragOnContent
      customStyles={{
        container: {
          height: currentHeight,
          borderTopLeftRadius: 20,
          borderTopRightRadius: 20,
          backgroundColor: theme.colors.background,
        },
      }}
      // đóng khi click ngoài
      closeOnPressMask
      // đóng khi click back
      closeOnPressBack
      customModalProps={{
        animationType: 'slide',
        statusBarTranslucent: true,
      }}
      customAvoidingViewProps={{
        enabled: false,
      }}>

--- content ---

 </RBSheet>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions