Skip to content

Clear input after posting status — skip save/restore on submit refresh#570

Merged
asim merged 1 commit intomainfrom
claude/add-wallet-transfers-74PHC
Apr 16, 2026
Merged

Clear input after posting status — skip save/restore on submit refresh#570
asim merged 1 commit intomainfrom
claude/add-wallet-transfers-74PHC

Conversation

@asim
Copy link
Copy Markdown
Member

@asim asim commented Apr 16, 2026

After posting, refresh(true) was saving currentInput() then restoring it into the new DOM, which put the old text back in the input even though it had been cleared. Now when scrollToTop is true (only after a submit), the save/restore is skipped — the fresh form from the server has an empty input as expected.

After posting, refresh(true) was saving currentInput() then restoring
it into the new DOM, which put the old text back in the input even
though it had been cleared. Now when scrollToTop is true (only after
a submit), the save/restore is skipped — the fresh form from the
server has an empty input as expected.
@asim asim merged commit 7c1003b into main Apr 16, 2026
2 checks passed
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.

2 participants