-
Notifications
You must be signed in to change notification settings - Fork 3k
Proposal: remove touchevents from the project #2432
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
Conversation
This PR removes the `touchevents` detect from the project. While renaming the test did, in fact, make the test accurately describe what it was testing, it still doesn't do what people think it does. this creates endless confusion (more than we see) and bug reports (the tip of the iceberg of people having problems with this detect.) We can't create a test that does what people think this test does so we should end the confusion and remove the test. If people want the test in their projects it's an easy one to implement. Additionally, I would argue that testing for what people _think_ this test does is harmful to users and contributing to that pattern (even via a misunderstanding of what this test does) is bad for the web.
+1 for this. I'd like to see some form of documentation about this removal in the docs through this PR too. Additionally: Are there other tests like this that are confusing (because they test the brwoser, not the device) ? |
IIRC all the docs are generated by the feature detects themselves, right? That would be weird here. |
I thought of the normal README in the github as well as in https://modernizr.com/docs (that page is generated via hbs templates in modernizr-neue too) |
I've got a branch with a docs update for this. I'll open a PR shortly. |
Yes, please just remove it at this point. It really stinks that we can't reliably define how the user is interacting with their device so we can do things such as preventing clicks from registering as a |
Sorry, I spaced on the other half of this! |
No worries @roblarsen but will you come back to it? |
Sure, yeah. I have a branch with some docs, I don't remember where I was with that, but I'll pull it down and take a look |
Just a thought: Maybe renaming it to "browsertouch" would be a good middleground (keeping it but indicating that its the brwoser not the device that is tested)? |
Now officially deprecated with #2472 |
This PR removes the
touchevents
detect from the project.While renaming the test did, in fact, make the test accurately describe what it was testing, it still doesn't do what people think it does. this creates endless confusion (more than we see) and bug reports (the tip of the iceberg of people having problems with this detect.)
We can't create a test that does what people think this test does so we should end the confusion and remove the test. If people want the test in their projects it's an easy one to implement.
Additionally, I would argue that testing for what people think this test does is harmful to users and contributing to that pattern (even via a misunderstanding of what this test does) is bad for the web.
See:
#2431
#2430
#2428
#2134
#548
#1731
#2156
#1628
#1225
#869
#1344
#1179
#884
#1161