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

(WIP) Fix note editor jumping to bottom #1656

Closed
wants to merge 0 commits into from
Closed

Conversation

roundhill
Copy link
Contributor

@roundhill roundhill commented May 14, 2024

Fix

Should fix #1580 - Saving the y offset of the note editor and restoring it appears to be the cause of the bug. Opening this PR to test a build from. My theory is that on some devices, when the view needs to be adjusted for the soft keyboard, the OS will scroll the view into view and we were also scrolling the view ourselves which would push it to the bottom.

Test

  1. Open a long note
  2. Tap in the middle of the note and make some changes
  3. The editor scroll position should never change
  4. Test making a change on another device to the same note, the editor scroll should stay put
  5. Test that search results in a note still scroll into view when you tap the arrows

@roundhill roundhill added the [Type] Bug Something isn't working. label May 14, 2024
@roundhill roundhill added this to the 2.33 milestone May 14, 2024
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented May 14, 2024

📲 You can test the changes from this Pull Request in Simplenote Android by scanning the QR code below to install the corresponding build.

App Name Simplenote Android
Build TypeDebug
Commit533baf0
Direct Downloadsimplenote-android-prototype-build-pr1656-533baf0-018f78fd-fb17-462b-946c-e71fffd3f914.apk

@roundhill roundhill changed the title Fix note editor jumping to bottom (WIP) Fix note editor jumping to bottom May 14, 2024
@roundhill roundhill closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Long lists jump to the bottom when making changes
2 participants