Hi guys, my current solution working fine for ios and desktops, I input “@s” and I immediately see mentions block, but when I input “@something” on Android device it activating mentions container just on “space” click or after 5000ms inactivity delay.
Also if I continue input after 5000ms it duplicates input section from Android keyboard suggestions.
I tried to delete android exception for 5000ms delay in prosemirror-view
" // Drop active composition after 5 seconds of inactivity on Android
var timeoutComposition = result.android ? 5000 : -1;"
It fixed my first issue “Show mentions list on input”, but duplication bug became reproducing more often.
So I understand why you added this exception.
Could you please help me to resolve “show mentions on input” issue or could you told me more about Android suggestions input specify if you already had an opportunity to discover this issue?
We don’t really know what you’re doing, so it’s hard to help. Are you adding a widget at the cursor? If so, yes, that’s likely to get blocked because the editor can’t touch the DOM around an active composition (which includes pretty much all text input on Android). You might have more luck with an overlaid widget.