-
-
Notifications
You must be signed in to change notification settings - Fork 283
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
[BUG] Custom emoji auto complete not works properly #349
Comments
hey @MainasuK may I take a stab at this issue? I would like to contribute to this project when time permits. |
Hi, @tjb Yes, you can. Please check the Also, I will notify here when there is a patch for this in the fureture. |
hey @MainasuK i am making some progress but have some questions. I was able to get the custom emojis to render correctly however i am unable to get the cursor in the correct spot. what i am noticing is that the function that triggers
the i am also a bit lost on how the emoji gets rendered from the URL in the meta data. i believe that could be where the issue is occurring..due to rendering. any guidance would be appreciated. attached is a video showing the cursor in the wrong position. Simulator.Screen.Recording.-.iPhone.13.-.2022-04-04.at.23.39.30.mp4 |
@tjb Hello, the emoji rendering is implemented by v2 Please check this: I guess the emoji rendering logic may break the cursor position due to the glyph range will be trimmed after character replace by emoji view. |
hey @MainasuK i gave it my best shot and learned a lot about the structure of the app (learning iOS in my free time) but still unsure where exactly the cursor position is changing since there seems to be many spots that could trigger things. I will continue to look for a solution when I can but if someone picks this up before me that is fine too! |
Is there an existing issue for this?
Current Behavior
The cursor (caret) does not jump to the head of the text view when typing custom emoji code.
Some reports the app also crashes.
Expected Behavior
The cursor keep in stand with a spacer after the inline emoji input.
Steps To Reproduce
Open the Compose scene
Input the custom emoji code
:emoji_code:
Type spacer or select emoji in the list
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: