Open pi-chan opened 6 years ago
This is purely by an accident. But not what we can do with a prop like this. Would you mind sharing a usecase ?
hmmm, it is a little bit difficult to describe. please see this image,
I want to expand blue View to fill MentionsTextInput (parent view) by adding flex: 1
Both textInputMinHeight
and textInputMaxHeight
, cannot affect as I expected.
Flex doesn't seem to work. I'm using alignSelf:'stretch' for width for now. I'm not sure what has been done to the textinput but there's no way of applying flex properly to it.
@harshq I noticed that the new version of this package not support props for root view style, implemented in my PR #10.
ref https://github.com/harshq/react-native-mentions/commit/7c7098117c3830c10e848257c7b799fc545608a3#diff-a8eb8d969b80431379d772201132a07fR100
Is there some reason?