Skip to content

Commit b303342

Browse files
authored
Merge pull request sohobloo#58 from farzadab/master
Fixed Dropdown height for small lists
2 parents 4ef5fb8 + fd8aa1b commit b303342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/ModalDropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ const styles = StyleSheet.create({
385385
},
386386
dropdown: {
387387
position: 'absolute',
388-
height: (33 + StyleSheet.hairlineWidth) * 5,
388+
maxHeight: (33 + StyleSheet.hairlineWidth) * 5,
389389
borderWidth: StyleSheet.hairlineWidth,
390390
borderColor: 'lightgray',
391391
borderRadius: 2,

0 commit comments

Comments
 (0)