damus-io / damus

iOS nostr client
GNU General Public License v3.0
1.99k stars 289 forks source link

Shifty return/new line behavior when composing note #1521

Open alltheseas opened 1 year ago

alltheseas commented 1 year ago

what happens

Unexpected jumps happen when I hit the return button when composing a note in Damus.

When writing a note: Trying to move curser to an earlier part of my note to fix typos, cursor keeps moving/jumping back to the last line of the text field. Have to repeated move it back

Here’s a video of it happening every time I hit return on white space. But it was definitely happening other times when I’m just typing letters.

https://nostr.build/av/697308ac2aab80cf10362bfd5c08bf99cab00a235d271126c67969b57ba26b8c.mov

https://damus.io/note15dmvkeu93nrx6lq5ekyslxeqgh3z9dr834usp08hy3ru90w2egaqyw8hqq

Origin: Ocean

iOS 16.6

1.6 (17) 725548170567

alltheseas commented 1 year ago

Is this is a regression to https://github.com/damus-io/damus/issues/747 @jb55 ? I thought we had fixed #747

alltheseas commented 1 year ago

Btw getting the full problem Last night where just I had a long note and was making edits and almost every key was making the cursor jump to the bottom. seems to happen more often when I have multiple paragraphs

alltheseas commented 10 months ago

note1wj6jpymdcp72vzcjzmukds3r9q3ra54hqcyc3r33jyg4q0qvn90qlxpg7y

boston-wine commented 10 months ago

Also worth noting, it isn't just "return" that does this. "Delete" on an empty line also jumps your cursor down to the end of the note.