srivastavaanurag79 / react-native-paper-select

Dropdown using React Native Paper TextInput, Checkbox and Dialog
https://anurag-srivastava.gitbook.io/react-native-paper-select/
MIT License
48 stars 15 forks source link

PaperSelect inside a Modal #61

Closed Killouis closed 2 weeks ago

Killouis commented 3 weeks ago

Hi there, I think I have some problems to open the select modal inside another modal, because when I click on select it doesn't open anything. This is my code:

    <Portal>
      <Modal visible={visible} animationType="slide">
        <ScrollView>
          <PaperSelect />
        </ScrollView>
        <Toast />
      </Modal>
    </Portal>
srivastavaanurag79 commented 3 weeks ago

I don't think it would work inside a modal, because it itself opens a modal.

Killouis commented 2 weeks ago

I see... so i think i should turn the modal into a view. Thank you for the answer!

srivastavaanurag79 commented 2 weeks ago

I see... so i think i should turn the modal into a view. Thank you for the answer!

Yes, that will do.