You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I really need you help to figure out few things @dabakovich
Environment: I'm using react-native-web.
Problem: In your <MentionInput> code there are <Text> elements wrapped inside <TextInput>. This is not supported in web as <TextInput> is converted to a <textarea> and textareas can't have children components.
Expectation: It's ok NOT to highlight the items inside the <MentionInput> but I need a way to get this working in web.
Failed Attempt: I tried to remove <Text> inside the <TextInput> and set the mention value as @xxx inside the <TextInput> and have a different mapping outside <MentionInput>. When I implements this, multiple mentions no longer works
Appreciate if you can give me a hint on how to solve this.
The text was updated successfully, but these errors were encountered:
Hi, I really need you help to figure out few things @dabakovich
Environment: I'm using react-native-web.
Problem: In your
<MentionInput>
code there are<Text>
elements wrapped inside<TextInput>
. This is not supported in web as<TextInput>
is converted to a<textarea>
and textareas can't have children components.Expectation: It's ok NOT to highlight the items inside the
<MentionInput>
but I need a way to get this working in web.Failed Attempt: I tried to remove
<Text>
inside the<TextInput>
and set the mention value as @xxx inside the<TextInput>
and have a different mapping outside<MentionInput>
. When I implements this, multiple mentions no longer worksAppreciate if you can give me a hint on how to solve this.
The text was updated successfully, but these errors were encountered: