[Intervention] error in console on 'touchmove' - Color Picker
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start in color-picker/modules/wheel.js at line 106 and reproduce the warning by swiping a Color Picker in the Cordova or Chrome setup. Verify that the touchmove interaction still works and that the console no longer reports the non-cancelable event warning.
Written by the indexing model from the issue text.
Description
Framework7 version: 6.0.22
Platform and Target:Cordova app + Chrome browser
Describe the bug
An error occurred when swipe a Color Picker
[Intervention] Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
To Reproduce
Steps to reproduce the behavior:
Create a Color Picker and swipe
Screenshots

Additional context
To solve the problem please change " e.preventDefault(); " with:
if (e.cancelable) {
e.preventDefault();
}
at line 106 of the "color-picker/modules/wheel.js" file
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from framework7io/framework7
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
framework7io/framework7#4365 · 1 comment ·
-
propsHistory Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
framework7io/framework7#4347 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
framework7io/framework7#4222 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
framework7io/framework7#4175 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
framework7io/framework7#3969 · 3 comments ·
All issues in framework7io/framework7
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100