-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
fix: make cursor center for different line height #36586
Conversation
Base commit: cf43f9c |
@genkikondo has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@genkikondo merged this pull request in 987c6fd. |
@genkikondo please check my concern here. This PR should still not be merged. bug.mp4 |
@situchan I'm reverting now. Thanks so much for flagging. |
This pull request has been reverted by ebc97a6. |
Summary: Currently in multiline input the cursor touches the previous line. So this reduces its height sets its position so that I does not touch previous line. This PR will also fix the issue facebook#28012 (Problem with TextInput lineHeight on iOS) This RP will fix the issue caused in [PR](facebook#36484) Changelog: [iOS][Added] - Fixed cursor height on multiline text input Pull Request resolved: facebook#36586 Test Plan: Tested for different cursor height https://user-images.githubusercontent.com/46092576/227004355-3886a0b5-7cdb-4fdc-a16b-3c4abb729737.mov https://user-images.githubusercontent.com/46092576/227004361-48099f81-9f52-460d-8ae8-d0ddb09dc47d.mov Reviewed By: javache Differential Revision: D44307457 Pulled By: genkikondo fbshipit-source-id: afeea5605ed8557cdeec1e62324c85665ce367d6
Summary: Currently in multiline input the cursor touches the previous line. So this reduces its height sets its position so that I does not touch previous line. This PR will also fix the issue facebook#28012 (Problem with TextInput lineHeight on iOS) This RP will fix the issue caused in [PR](facebook#36484) Changelog: [iOS][Added] - Fixed cursor height on multiline text input Pull Request resolved: facebook#36586 Test Plan: Tested for different cursor height https://user-images.githubusercontent.com/46092576/227004355-3886a0b5-7cdb-4fdc-a16b-3c4abb729737.mov https://user-images.githubusercontent.com/46092576/227004361-48099f81-9f52-460d-8ae8-d0ddb09dc47d.mov Reviewed By: javache Differential Revision: D44307457 Pulled By: genkikondo fbshipit-source-id: afeea5605ed8557cdeec1e62324c85665ce367d6
This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This PR was closed because it has been stalled for 7 days with no activity. |
Unsubscribe
William Pope Jr
…On Thu, Sep 28, 2023, 1:16 AM github-actions[bot] ***@***.***> wrote:
This PR was closed because it has been stalled for 7 days with no activity.
—
Reply to this email directly, view it on GitHub
<#36586 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALNSC3GCWYQ7NGQNX7BAGHTX4UBZBANCNFSM6AAAAAAWEGUNFI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Summary
Currently in multiline input the cursor touches the previous line.
So this reduces its height sets its position so that I does not touch previous line.
This PR will also fix the issue #28012 (Problem with TextInput lineHeight on iOS)
This RP will fix the issue caused in
PR
Changelog
[IOS] [ADDED] - Fixed cursor height on multiline text input
Test Plan
Tested for different cursor height
Screen.Recording.2023-03-22.at.11.17.31.PM.mov
Screen.Recording.2023-03-22.at.11.19.21.PM.mov