damus icon indicating copy to clipboard operation
damus copied to clipboard

Shifty return/new line behavior when composing note

Open alltheseas opened this issue 2 years ago • 4 comments

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 avatar Aug 29 '23 13:08 alltheseas

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

alltheseas avatar Aug 29 '23 14:08 alltheseas

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 avatar Aug 29 '23 15:08 alltheseas

note1wj6jpymdcp72vzcjzmukds3r9q3ra54hqcyc3r33jyg4q0qvn90qlxpg7y

alltheseas avatar Dec 03 '23 00:12 alltheseas

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.

boston-wine avatar Dec 03 '23 00:12 boston-wine