Skip to content

Conversation

@mrjo118
Copy link
Contributor

@mrjo118 mrjo118 commented Oct 28, 2025

On the Joplin web app, there are severe input issues when composing the title field on Windows (and possibly other desktop OS's). The cursor will keep jumping to the end of the title input, which is easily reproducible by typing fast in the input. This is because in React Native Web, when multiple re-renders are fired due to state changes on a controlled TextInput, this can result in the input being recreated (according to ChatGPT), which causes the cursor position to reset to the end of the input. In order to remedy this, I have combined the state updates made when editing the title field, and suppressed the additional state update made when the scheduled save for the title update executes.

Please note, the is still an issue present whereby if you edit the note body and then quickly edit the title before the scheduled save has executed, this results in the title being overwritten with the title at the time of save of the note body was scheduled. This however is a minor issue compared to the issue this PR fixes.

This fixes #13544

Testing

I have verified that the auto title feature works correctly and the title input no longer exhibits the issue when typing fast. I have verified the behaviour is unchanged on the native Android app

Before change:

input.issue.before.mp4

After change:

input.issue.after.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Severe Input Bug in Web App Title Field (Since v3.4, Still Unresolved in v3.5)

1 participant