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

Edit change event not triggering on character deletion/backspace #173

Closed
MRB60 opened this issue Dec 21, 2019 · 5 comments
Closed

Edit change event not triggering on character deletion/backspace #173

MRB60 opened this issue Dec 21, 2019 · 5 comments

Comments

@MRB60
Copy link

MRB60 commented Dec 21, 2019

When a character is deleted, no change is detected and the save button remains disabled. Character insert works fine.

@JiHong88
Copy link
Owner

Hi, @MRB60

Fixed in v2.23.4

Thank you!!

@MRB60 MRB60 closed this as completed Dec 21, 2019
@quanle1994
Copy link

Hello. Thank you so much for the cool component.

I think the issue still happens in Chrome and Firefox.

Also, I notice there's a delay in the onChange callback. Is there a way to reduce this lag or remove it altogether?

Regards.

@MRB60
Copy link
Author

MRB60 commented Jan 10, 2020

Backspace onChange event works for me both in Chrome (v79.0.39) and Firefox on Linux with Suneditor v2.23.4. There is a delay (to reduce events?) though but for me not a problem.

@quanle1994
Copy link

I see. Could you try again when press and hold the backspace? So instead of deleting one character at a time, delete the whole chunk by holding down the backspace key.

@MRB60
Copy link
Author

MRB60 commented Jan 11, 2020

You are right - holding down backspace so it repeats does not seem trigger onChange.

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

3 participants