[draftjs-mention-plugin] MentionSuggestions popover is not triggering immediately after mentionTrigger until some text is added.
See original GitHub issueHi Guys,
I am getting an issue with MentionSuggestions Popover. For the first time MentionSuggestions popover open immediately after mentionTrigger but for the next time mentionTrigger is not triggering the MentionSuggestions popover until you need to type some text.
Here is my plugin config:
createMentionPlugin({
positionSuggestions,
mentionPrefix: '@',
mentionTrigger: '@',
supportWhitespace: true,
entityMutability: 'IMMUTABLE',
})
Please refer gif below
Can someone please help me on this.
Thanks in advance.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:19 (4 by maintainers)
Top Results From Across the Web
z4o4z/draft-js-mention-plugin/CHANGELOG.md - UNPKG
82, - Introduced a new configuration option `mentionTrigger`. By default it is set to `@`. As before by default typing `@` will trigger...
Read more >draftjs - Draft.js Mention Plugin is not working after rendering ...
If you override the editorState with a new created state you are removing all the decorators which were added by the plugins.
Read more >How to Build a Dynamically Positioned Popover with Popper ...
Go to the blog post : https://www.elegantthemes.com/blog/di... The popper.js library is a powerful positioning engine for tooltips and ...
Read more >Overlays | React-Bootstrap
A set of components for positioning beautiful overlays, tooltips, popovers, and anything else you need. Overview#. Things to know about the React-Bootstrap ...
Read more >Popover | DotVVM Documentation
Usage & Scenarios. Adds a Bootstrap Popover functionality to a control. ... <bs:Popover Title="Title" Content="Content text" Placement="Right">
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@m1n0s Any update on this? I really need this functionality too 😦
It seems a bit buggy also. Sometimes the popover does show instantly, sometimes it doesn’t.
See video: bug.mov.zip
It seems like adding a mention will stop it working with only the symbol, and clearing the field will make it work again?? But no idea what’s really going on.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.