Skip to content
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

Unable to edit message midway once I use an emoji #1117

Closed
gitwina opened this issue May 27, 2021 · 2 comments · Fixed by #1212
Closed

Unable to edit message midway once I use an emoji #1117

gitwina opened this issue May 27, 2021 · 2 comments · Fixed by #1212
Assignees
Labels
❓ Question Question regarding a specific subject 🎨 SDK: StreamChatUI Tasks related to the StreamChatUI SDK

Comments

@gitwina
Copy link

gitwina commented May 27, 2021

What did you do?

I pasted a message and tried to edit it midway, e.g., "testing 123 testing 123 ", where I moved the cursor to "test" as I wanted to do a mid-text edit.

What did you expect to happen?

I expected to be able to edit.

What happened instead?

The cursor goes back to the last character (which is in my case an emoji). and so I had to edit the message OUTSIDE of the app and then paste it back.

GetStream Environment
GetStream Chat version: 4.0.0
GetStream Chat frameworks: StreamChatUI - 4.0.0
iOS version: 14.5.1
Swift version: 5.3.3
Xcode version: 12.5
Device: iphone 11 Pro Max

Additional context

@b-onc
Copy link
Contributor

b-onc commented Jun 1, 2021

Hello @supermomos

I've tested with the messages shown below:
image

but weren't able to reproduce. Can you provide a sample project, or exact message so I can reproduce?

@b-onc b-onc self-assigned this Jun 1, 2021
@b-onc b-onc added ❓ Question Question regarding a specific subject 🎨 SDK: StreamChatUI Tasks related to the StreamChatUI SDK labels Jun 1, 2021
@gitwina
Copy link
Author

gitwina commented Jun 8, 2021

Pls see this video. After I input an emoji, whenever I want to go back and re-type a word, it brings me right back to the end, such that it is very difficult to edit other parts of the message.

https://www.dropbox.com/s/06vr0d4tm9xrdlv/Emoji%20bug%20for%20stream.mp4?dl=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ Question Question regarding a specific subject 🎨 SDK: StreamChatUI Tasks related to the StreamChatUI SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants