Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

137
Visualizações
React native paper drop down issue

This code is working fine in the emulator but on the web, the dropdown is not closing. Can you please help why it is not closing on the web browser?

react-native-paper

npm i react-native-paper-dropdown https://fateh999.github.io/react-native-paper-dropdown

enter image description here

const [showDropDown, setShowDropDown] = useState(false);
const [SelectDivision, setSelectDivision] = useState('');
const [showMultiSelectDropDown, setShowMultiSelectDropDown] = useState(false);
const SelectDivisionList = [
    {
      label: 'South',
      value: 'South',
    },
    {
      label: 'North',
      value: 'North',
    },
    {
      label: 'East',
      value: 'East',
    },
    {
      label: 'West',
      value: 'West',
    },
  ];
const AppDropDown = () => {
    return (
      <View style={styles.DropDownDesign}>
        <View style={{width: '25%'}}>
          <DropDown
            label={'Select Division'}
            mode={'outlined'}
            dropDownStyle={{
              borderColor: '#322b7c',
              borderWidth: 0.7,
              borderRadius: 4,
              borderStyle: 'solid',
              backgroundColor: 'white',
            }}
            visible={showDropDown}
            showDropDown={() => setShowDropDown(true)}
            onDismiss={() => setShowDropDown(false)}
            value={SelectDivision}
            multiSelect
            setValue={setSelectDivision}
            list={SelectDivisionList}
            inputProps={{
              right: <TextInput.Icon name={'chevron-down'} size={15} />,
            }}
            /*  inputProps={{
                right: <TextInput.Icon name={'caret-down'} size={15} />,
              }} */
          />
        </View>
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda