-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Checklist: unable to tick/untick check boxes on Chrome Mobile #2031
Comments
I'm also experiencing issues of clicking checkboxes on android devices |
if I want to change the text on the chrome moblie, I can not select the word, because I use |
I love this feature. I'm still experiencing this too, does anyone have workarounds? |
+1 |
Hey, if anyone is looking for a workaround. This is how I solved it. const List = Quill.import("formats/list");
class BetterList extends List {
constructor(el: HTMLElement) {
super(el);
const isCheckList = el.hasAttribute("data-checked");
el.addEventListener("touchstart", (e) => {
if (!isCheckList) {
return;
}
e.preventDefault();
});
}
}
Quill.register("formats/lists", BetterList); |
Quill 2.0 has been released (announcement post) with many changes and fixes. If this is still an issue please create a new issue after reviewing our updated Contributing guide 🙏 |
Hi, this issue was originally detected and discussed at #759 (comment). When using Chrome Mobile and trying to tick or untick a check box, the box returns to the previous state.
Steps for Reproduction
Expected behavior: For the checkbox to become ticked / unticked
Actual behavior: The checkbox returns to previous state
Platforms: Chrome Mobile
Version: v1.3.5
Investigation: This issue happens because both
touchstart
andmousedown
are being fired, see list.js#L77-L78 and #759 (comment) for more details.The text was updated successfully, but these errors were encountered: