-
Notifications
You must be signed in to change notification settings - Fork 159
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
Make HammerJs optional. #13906
Make HammerJs optional. #13906
Conversation
CHANGELOG.md
Outdated
@@ -2,6 +2,10 @@ | |||
|
|||
All notable changes for each version of this project will be documented in this file. | |||
|
|||
## 17.1.0 | |||
### General |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heheh, might've been too diligent transferring changes. Don't think we want the changelog at all since this might not end up in 17.1 directly, plus that's already there. Might also want to drop the schematics stuff, I think we're mostly interested in the commits that modify the actual source only. Will see if that can be done by skipping other commits only
0f8893a
to
e0a3da0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the docs comment, LGTM
@@ -51,7 +51,6 @@ import 'zone.js'; // Included with Angular CLI. | |||
/*************************************************************************************************** | |||
* APPLICATION IMPORTS | |||
*/ | |||
import 'hammerjs'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, we'll need to likely update docs for WC/Blazor/React due to this. Don't know if it currently mentions Hammer, but now it'd be up to the app to include it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, did a bit of digging and the list of Grid-related functionality that can rely on Hammer:
- The cell doubletap workaround for iOS (that also includes a check to prevent doubletap zoom it seems). This one we'll need to check out how much is still valid
- The list pan gestures, which the grid lists do not use, so we can safely ignore
- Time picker pan to scroll through the list of hours/minutes
- Calendar (Date picker) year list in the same style, which won't matter once the calendar redesign lands
So it's almost entirely restricted to Grid Editing and components used by the feature and 2 out of 3 of those might be resolvable with refactoring/updates. So we could almost wait depending on the release targets or only update the editing topic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we have any mentions in the wc/react/blazor topics around the grid related to touch interactions right now.
Not sure what the time frame for fully phasing out hammerjs is. Maybe @dkamburov will have more information?
If it's in the near future I'm more in favor of waiting and then just adding an actual Touch support section for wc/react/blazor. Might not be a bad idea to add something like that to Angular as well, since it's a bit difficult to track what interactions we actually support for touch right now in each component.
Closes #
Additional information (check all that apply):
Checklist:
feature/README.MD
updates for the feature docsREADME.MD
CHANGELOG.MD
updates for newly added functionalityng update
migrations for the breaking changes (migrations guidelines)