fix(ng22): removing mentions of hammermodule#359
Open
ChronosSF wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Ignite UI for Angular documentation to align with Angular 22 by removing guidance and examples that reference HammerModule (which is no longer available from @angular/platform-browser).
Changes:
- Removed
HammerModulementions and import snippets from multiple component “Getting Started” sections. - Updated related “dependency” callouts (e.g., keeping
BrowserAnimationsModulewhere applicable). - Revised the update guide’s Angular 9-era Hammer note to reference Angular 22 removal.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| docs/angular/src/content/en/components/treegrid/tree-grid.mdx | Removes the HammerModule info aside from the Tree Grid usage section. |
| docs/angular/src/content/en/components/time-picker.mdx | Removes HammerModule from the dependency note and module import example. |
| docs/angular/src/content/en/components/stepper.mdx | Removes HammerModule from standalone import examples. |
| docs/angular/src/content/en/components/slider/slider.mdx | Removes HammerModule warning aside and related module/app.config snippets. |
| docs/angular/src/content/en/components/paginator.mdx | Removes HammerModule from standalone import examples. |
| docs/angular/src/content/en/components/navdrawer.mdx | Removes HammerModule from dependency note and module/standalone examples. |
| docs/angular/src/content/en/components/month-picker.mdx | Removes HammerModule from dependency note and module/standalone examples. |
| docs/angular/src/content/en/components/list.mdx | Removes HammerModule aside and module/standalone import references. |
| docs/angular/src/content/en/components/hierarchicalgrid/hierarchical-grid.mdx | Removes the HammerModule info aside from Getting Started. |
| docs/angular/src/content/en/components/grid/grid.mdx | Removes the HammerModule info aside from Getting Started. |
| docs/angular/src/content/en/components/general/update-guide.mdx | Replaces Angular 9 Hammer guidance with an Angular 22 removal note (needs refinement). |
| docs/angular/src/content/en/components/date-range-picker.mdx | Removes HammerModule from dependency note and module/standalone examples. |
| docs/angular/src/content/en/components/date-picker.mdx | Removes HammerModule from dependency note and module/standalone examples. |
| docs/angular/src/content/en/components/carousel.mdx | Removes HammerModule aside and module/standalone import references. |
| docs/angular/src/content/en/components/calendar.mdx | Removes HammerModule from dependency note and module/standalone examples. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+1345
to
+1348
| Due to a breaking change in Angular 9 Hammer providers are no longer implicitly added. | ||
| [please, refer to the following document for details:](https://github.com/angular/angular/blob/master/CHANGELOG.md#breaking-changes-9 ) | ||
|
|
||
| - igxGrid | ||
| - igxHierarchicalGrid | ||
| - igxTreeGrid | ||
| - igxList | ||
| - igxNavigationDrawer | ||
| - igxTimePicker | ||
| - igxDatePicker | ||
| - igxMonthPicker | ||
| - _igxSlider_* | ||
| - igxCalendar | ||
| - igxCarousel | ||
|
|
||
| > **\* Note** - igxSlider requires the HammerModule for _**all**_ user interactions. | ||
|
|
||
| You can use the following code snippet to update your app's root module file. | ||
|
|
||
| ```typescript | ||
| import { HammerModule } from "@angular/platform-browser"; | ||
|
|
||
| @NgModule({ | ||
| ... | ||
| imports: [ | ||
| ... | ||
| HammerModule | ||
| ] | ||
| }) | ||
| ``` | ||
| > **Note** - As of Angular 22, `HammerModule` has been removed from `@angular/platform-browser`. If you are upgrading to Angular 22+, remove any `HammerModule` imports from your application. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #
Checklist:
preview/beta../relative/path.mdIgxSelectComponent,<igx-combo>code blocksfor the names of classes / tags / propertiescode blockscheck-api/mdxnpm commands