Text selection is cancelled when the AI popup disappears
Users are reporting an issue where text selection is cancelled when the AI popup disappears. kuaza initially reported the problem when quickly editing a message, but Canapin found that the issue is not specific to quick editing and is related to the AI popup.
Steps to reproduce the issue were shared by Canapin, and Moin reported that the issue occurs even without the AI helper popup. kuaza confirmed that the problem persists in safe mode, with add-ons disabled, and with different themes.
However, joffreyjaffeux believes the issue may be fixed, as they were unable to reproduce the problem from the videos shared in the topic.
When we quickly edit a message, unwanted problems occur in the editor. For example, after selecting a word to make it bold, the selection is canceled when the mouse is hovered over the bold button. This applies to all buttons. For example, when the AI button appears after the selection, the selection is canceled when we hover over it with the mouse.
I saw your thread before opening this thread but thought it was different. I think it’s because of my naughty English I only get this error in quick editing. I tried in safe mode. I have the same problem on my own site and meta. I think other sites have this problem too.
Use fast edit but make it open the composer instead of the fast edit popup.
Then, select any text in the composer. The AI helper popup shows up.
Move the cursor to make the AI helper popup disappear, either by hovering this popup and move the cursor away or move the cursor away from the composer text area.
The selection is canceled.
If you close the composer, and edit the post without using the fast selection, the issue remains until you refresh the page.
The problem is not related to any plugin or theme. It continues even when you try turning off add-ons in safe mode. I tried with another theme, the problem still persists.