Link/mention picker should not pop up when typing inside a word #5351
Labels
1. to develop
Accepted and waiting to be taken care of
bug
Something isn't working
feature: rich-contenteditable
Related to the rich-contenteditable components
Try to post something like:
The
![grafik](https://private-user-images.githubusercontent.com/213943/310437693-fef3e735-1177-4bdf-ac39-f661940996ee.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEwMzgwOTIsIm5iZiI6MTcyMTAzNzc5MiwicGF0aCI6Ii8yMTM5NDMvMzEwNDM3NjkzLWZlZjNlNzM1LTExNzctNGJkZi1hYzM5LWY2NjE5NDA5OTZlZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxNVQxMDAzMTJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MGJlMzliMzhiNDc3YmM1ZWMxYTY5NTc5MDg3N2JiZWZiYjc0ZDJlNDAxNmJhMzFkMGU5MWE1OTAzY2FmZjQ4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.XUHB-1KS-_CePGoZfLpH0I8a_MNVU9ME7so27xtF_so)
/
brings up the link picker:Pressing
ESC
not only closes the link picker but also unfocuses the chat input of Talk.Same happens with
@
inside words.From my perspective it would be the best to only start the picker with a leading whitespace, linebreak, empty (beginning of message). Showing it in the middle of a word is quite annoying.
Should also take a look into themoved to other issue and solvedESC
handling so when it cancels Tribute, it does not additionally cancel the NcContentEditable focus.cc @ShGKme @Antreesy
The text was updated successfully, but these errors were encountered: