react-native-material-dropdown
react-native-material-dropdown copied to clipboard
Scrollbar is not showing in iOS real device
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
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.