post_status_form: enable sync flush for watcher #414
No reviewers
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#414
Loading…
Reference in a new issue
No description provided.
Delete branch "novenary/akkoma-fe:sticky-drafts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This fixes drafts not clearing after posting a reply.
Vue 3.3.11 changed watchers to stop firing after component unmount.
After posting a reply, the post form is removed, now causing the queued event to be discarded.
Synchronous flush causes the handler to be called immediately when changes happen, solving the problem.
See: https://github.com/vuejs/core/pull/7181
See:
80e2128d52
Fixes:
a7dea2f70f
Fixes: #413
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.