Comments (4)
Hello everyone,
I ran into same issue when I was upgrading to Angular 15. Due to some dependencies I have to use MatLegacySelectModule too. Do you have any updates regarding this issue?
Thanks!
from ng-mat-select-infinite-scroll.
Installing a temporary Angular CLI versioned 15.1.4 to perform the update.
✔ Packages successfully installed.
Using package manager: npm
Collecting installed dependencies...
Found 45 dependencies.
Fetching dependency metadata from registry...
Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires ">=4.6.2 <4.9", would install "4.9.5").
Package "ng-mat-select-infinite-scroll" has an incompatible peer dependency to "@angular/material" (requires ">=6.0.0 <15.0.0", would install "15.1.2").
from ng-mat-select-infinite-scroll.
seems like ng-mat-select-infinite-scroll v 4 doesn't support angular 15 yet
npm WARN [email protected] requires a peer of @angular/core@>=6.0.0 <15.0.0 but none is installed. You must install peer dependencies yourself.
from ng-mat-select-infinite-scroll.
I think the issue that @Brachacz reported could be solved by providing a legacy directive for MatLegacySelect.
This adjusted directive must import MatLegacySelect instead of MatSelect.
import { AfterViewInit, Directive, EventEmitter, Input, NgZone, OnDestroy, OnInit, Output } from '@angular/core';
import { MatLegacySelect as MatSelect } from '@angular/material/legacy-select';
import { fromEvent, Subject } from 'rxjs';
import { debounceTime, takeUntil, tap } from 'rxjs/operators';
/** The height of the select items in `em` units. */
const SELECT_ITEM_HEIGHT_EM = 3;
@Directive({
selector: '[msLegacyInfiniteScroll]'
})
export class MatLegacySelectInfiniteScrollDirective implements OnInit, OnDestroy, AfterViewInit {...}
from ng-mat-select-infinite-scroll.
Related Issues (20)
- Can I prevent auto scroll top? HOT 3
- is it posssible to add search functionality with select HOT 6
- Angular 10 support HOT 2
- Support for MatAutocomplete HOT 1
- pre selected value HOT 1
- Scroll "stuck" after selecting the last element, multiple times
- Is it possible to avoid the 'scroll up' when scrolling down on limit of infinite scroll? HOT 1
- Angular and material 11 support. HOT 8
- Losing selection of lazy loaded items
- Update to the latest version
- missing exported member when building application HOT 5
- Add a license? HOT 2
- Infinite scroll not working when mat-option is added inside of a div element
- Hi,
- Has anyone faced a concurrency problem with the same http call?
- Angular 16 support HOT 5
- version 4.0.0 doesn't work with Angular 12.
- Will there be support for Angular 9? HOT 2
- Reload don't trigger if first selected element is the last of the first batch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-mat-select-infinite-scroll.