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

Client side glitch on reply component #15

Open
AngelinCalu opened this issue May 27, 2017 · 1 comment
Open

Client side glitch on reply component #15

AngelinCalu opened this issue May 27, 2017 · 1 comment

Comments

@AngelinCalu
Copy link

There is a small glitch in the interaction between the user and the app.
When he will try to edit he's own reply, the cancel button is a bit misleading as he might think that he updated the reply even when clicking "Cancel"

Glitch

@flashadvocate
Copy link

flashadvocate commented May 14, 2018

This is caused by the v-model binding to the body variable, which gets updated immediately even if the user doesn't submit the change.

If you add a second variable originalBody you can keep track of the originally persisted content. Just be sure to update it if the user actually submits an edit

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

No branches or pull requests

2 participants