Skip to content

Commit 455cfce

Browse files
committed
Calculate height with floor
1 parent 459ebdc commit 455cfce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Picker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const Picker = <T,>({
2828
searchable = false,
2929
loading = false,
3030
label,
31-
height = Dimensions.get('window').height * 0.5,
31+
height = Math.floor(Dimensions.get('window').height * 0.5),
3232
closeText = 'Close',
3333
placeholderText = 'Search',
3434
noDataFoundText = 'No Data Found.',

0 commit comments

Comments
 (0)