n4kz / react-native-material-dropdown

Material dropdown with consistent behaviour on iOS and Android
Other
732 stars 597 forks source link

Scrollbar is not showing in iOS real device #278

Open gkasireddy202 opened 1 year ago

gkasireddy202 commented 1 year ago

Hi,

The scrollbar is not showing on iOS real device and the scroll bar is showing on the iOS simulator.

import React,{Component} from "react"; import { View } from "react-native"; import { Dropdown } from 'react-native-material-dropdown';

class Example extends Component { render() { let data = [{ value: 'Banana', }, { value: 'Mango', }, { value: 'Pear', }, { value: 'orange', }, { value: 'apple', },{ value: 'grapes', } ];

    return (
      <View style={{flex:1}}>
        <View style={{flex:1}}>

        </View>
        <View style={{flex:1,margin:30}}>
        <Dropdown
    label='Favorite Fruit'
    data={data}
  />

        </View>
        <View style={{flex:1}}>

        </View>

      </View>
    );
  }

}

export default Example ;

@ismnoiet/react-native-dropdown": "0.0.2", react-native-cli: 2.0.1 react-native: 0.68.2

iOS Device

Simulator
gkasireddy202 commented 1 year ago

The scrollbar is not showing in a dark mode in ios real device. It is working fine in a light mode in ios real device.