Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,13 @@ All notable changes for each version of this project will be documented in this
- `IgxInputGroupComponent`, `IgxSelectComponent`, `IgxDatePickerComponent`, `IgxDateRangePickerComponent`, `IgxTimePickerComponent`
- The default `type` has changed from `line` to `box`. The `ng update` migration automatically adds `type="line"` to existing instances that do not already have an explicit `type` binding to preserve their appearance.

### General
- **Removed Hammer.js dependency**
- The `hammerjs` and `@types/hammerjs` peer dependencies have been removed. All touch gesture support (Carousel swipe, Navigation Drawer pan/swipe, List Item pan, Time Picker vertical scroll, Grid Cell double-tap on iOS) is now implemented with native Pointer Events / Touch Events APIs.
- `HammerGesturesManager` and related types (`HammerInput`, `HammerStatic`, `HammerManager`, `HammerOptions`) are no longer exported from `igniteui-angular/core`.
- The `ng add` schematic no longer prompts for or installs `hammerjs`.
- If your application imported `hammerjs` solely for Ignite UI components, you can safely remove it from your `package.json` dependencies, `angular.json` scripts/polyfills, and any `import 'hammerjs'` statements.

- **Touch Gestures (HammerJS)** _(optional)_
- `HammerModule`, previously exported from `@angular/platform-browser`, is no longer available in Angular 22. Touch gesture support (Slider, Drag & Drop, Carousel swipe, Navigation Drawer) is optional. To enable it, install the `hammerjs` package and add it to the `scripts` array in your project's `angular.json`:
```bash
npm install hammerjs
```
```json
// angular.json — inside your project's architect.build.options
"scripts": ["./node_modules/hammerjs/hammer.min.js"]
```
### General

- `IgxSelectComponent`
- The default positioning strategy has changed from the internal overlap strategy to `AutoPositionStrategy`. The dropdown now opens below (or above, if there is not enough space) the input element, consistent with other connected components.
Expand Down
6 changes: 2 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@
"options": {
"polyfills": [
"zone.js",
"zone.js/testing",
"hammerjs"
"zone.js/testing"
],
"styles": [
"src/styles/styles.scss",
Expand Down Expand Up @@ -287,8 +286,7 @@
"options": {
"polyfills": [
"zone.js",
"zone.js/testing",
"hammerjs"
"zone.js/testing"
],
"styles": [
"src/styles/styles.scss"
Expand Down
Loading
Loading