-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Can't set height of Select component #4126
Copy link
Copy link
Closed
Labels
v3V3V3
Description
Describe the bug
I have a form with Input and Select. I want to make them same height. But when I set h='50px', Input component height changes but Select component remain unchanged.
Expected behaviour
To Reproduce
Here's the sample code
export default function App() {
return (
<NativeBaseProvider>
<VStack mt='16' space={5} alignItems="center">
<Input h='50px' />
<Select h='50px'>
{['A', 'B', 'C'].map(i => <Select.Item label={i} value={i} />)}
</Select>
</VStack>
</NativeBaseProvider>
);
}Additional information
As the inspect shows, the outer height changed to 50px, but the inner component.
Platform
- NativeBase version 3.2.0
- Device: iPhone, Android, Web
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
v3V3V3


