-
-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implementing hashtags with spaces. How do i stop the Auto completing ive already tried hitting Enter? #177
Comments
was able to work around it with ..
|
Re-opening .. because i don't think the default behavior makes sense. |
Perhaps having an exit character to tell the component to stop trying to auto complete. |
Thanks for bug report. Could you please create codesandbox (for example basend on this https://codesandbox.io/s/k34153yp0v) as repro? Expected behavior, actual behavior?🙏 |
@jukben I have recreated the bug .. https://codesandbox.io/s/reacttextareaautocomplete-tw12d its the output: and the allowWhitespaces that together create the bug. |
Hello I am trying to implement hashtags
but when i type in the textarea something like. ..
#new_pages #New_from_modal #Coco
the console logs this on the last call
coco
new_pages #New_from_modal #Coco
It seems that the tag is sometimes being passed the coco part as a token
but on other parts the whole line ... which i do not want.
But i have to allow white spaces because groups can have white spaces.
The text was updated successfully, but these errors were encountered: