-
Notifications
You must be signed in to change notification settings - Fork 576
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
Production build cannot select mention #634
Comments
+1 |
SargisPlusPlus
added a commit
to SynthesizeTech/react-mentions
that referenced
this issue
Dec 12, 2022
SargisPlusPlus
added a commit
to SynthesizeTech/react-mentions
that referenced
this issue
Dec 12, 2022
Closed
+1 |
JakeHedman
added a commit
to JakeHedman/react-mentions-continued
that referenced
this issue
Feb 27, 2023
Same issue here. Any suggestions on how to solve this? |
+1 |
1 similar comment
+1 |
Please, see this possible solution. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce:
Cannot reproduce it. Only happens in production.
Expected behaviour:
Observed behaviour:
I can see a list of mentions when I start typing "@" but choosing the mention, it does not choose it.
When running in dev mode, it works as expected, no issues.
In console log, I see:
Tech Stack:
My code:
I was able to inject a breakpoint right before the issue happens(it breaks on line 103). If you look at the image, I am puzzled why captureGroupOffsets=5. (is this right?) Also, notice that markup, on line 81, is undefined, while it is present in the "config" (this is a single item array with object that has markup).. It is as if it iterates over config multiple times...?
Workaround:
Not sure why but this workaround works
The text was updated successfully, but these errors were encountered: