react-native-mentions icon indicating copy to clipboard operation
react-native-mentions copied to clipboard

[Question] View style removed ?

Open pi-chan opened this issue 8 years ago • 3 comments
trafficstars

@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?

pi-chan avatar Nov 14 '17 12:11 pi-chan

This is purely by an accident. But not what we can do with a prop like this. Would you mind sharing a usecase ?

harshq avatar Jan 09 '18 16:01 harshq

hmmm, it is a little bit difficult to describe. please see this image,

capture

I want to expand blue View to fill MentionsTextInput (parent view) by adding flex: 1

Both textInputMinHeight and textInputMaxHeight, cannot affect as I expected.

pi-chan avatar Jan 22 '18 02:01 pi-chan

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.

pribeh avatar Aug 10 '18 19:08 pribeh