status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.86k stars 984 forks source link

[iOS] Cursor hides at the bottom of the composer and new entered text jumps #18534

Open mariia-skrypnyk opened 6 months ago

mariia-skrypnyk commented 6 months ago

Bug Report

followup of https://github.com/status-im/status-mobile/pull/18089

Problem

If user type some text and then tap on return 10-20 (or less) times the cursor hides and after scroll down jumps appear

Expected behaviour

Cursor should be always visible during he moves up and down, no hidding and jumps of text

Actual behaviour

Cursor hides during he moves down, new typed text jumps

https://github.com/status-im/status-mobile/assets/147824399/0efdcef2-b50d-4dfd-91ca-64614ed49f78

https://github.com/status-im/status-mobile/assets/147824399/80a67574-3182-49bc-88c5-c191ff652a78

Reproduction

  1. Open composer
  2. Put text with short rows like I do on the video
  3. You should have a lot of text to make cursor be at the bottom of composer
  4. Tap on Return 10-20 times (at this step my cursor start hiding)
  5. Try to type short text rows again

Additional Information

clauxx commented 4 months ago

blocked by https://github.com/status-im/status-mobile/issues/18137, which optimises the composer.