Giter Club home page Giter Club logo

Comments (4)

fgehmlich avatar fgehmlich commented on June 2, 2024

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.

AgustinTommasi avatar AgustinTommasi commented on June 2, 2024

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.

naciriii avatar naciriii commented on June 2, 2024

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.

fgehmlich avatar fgehmlich commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.