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

Adding newline in the middle of the text doesn't update cursor position on iOS on Fabric #375

Open
tomekzaw opened this issue Jun 7, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@tomekzaw
Copy link
Collaborator

tomekzaw commented Jun 7, 2024

945c704 + iOS + Fabric

0.73.mp4
@tomekzaw tomekzaw added the bug Something isn't working label Jun 7, 2024
@tomekzaw
Copy link
Collaborator Author

tomekzaw commented Jun 7, 2024

Also reproducible on RN 0.74:

0.74.mp4

@tomekzaw
Copy link
Collaborator Author

tomekzaw commented Jun 7, 2024

Works correctly on Paper:

Paper.mp4

@tomekzaw tomekzaw changed the title Adding newline in the middle of the text doesn't update cursor position on iOS Adding newline in the middle of the text doesn't update cursor position on iOS on Fabric Jun 7, 2024
@tomekzaw
Copy link
Collaborator Author

tomekzaw commented Jun 7, 2024

It works correctly when I remove the following lines in example/src/App.tsx:

onSelectionChange={(e) => setSelection(e.nativeEvent.selection)}
selection={selection}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant