Giter VIP home page Giter VIP logo

angular-infinite-list's People

Contributors

dependabot[bot] avatar drawcall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

angular-infinite-list's Issues

Angular infinite list not working in *ngFor

if we use angular-infinite-list inside *ngFor then it generate virtual scroll for each of them separately. but when we scroll one element. this object replace in all sections.

List not visible until scrolled

I am using the observable approach - copied the code straight from here and into my project.

Everything works as it should apart from the initial load. This list loads and you can see the items get populated as the scrollbar appears, however none of my items appear until i physically scroll.

I have placed A simple rounded image as each item - set width and height with horizontal scroll enable.

I try adding the change detector in once my list in fetched and stored, but this makes no difference.

Not compaible with latest angular version

Hello,
Thank you for your work. This list component is the most promising among I have found.

I faced with issues to run it in my project. This morning I localised the issue and it seems Angular introduced breaking changes in its latest version.

Here is console output

> ERROR in node_modules/angular-infinite-list/dist/infinite-list.module.d.ts:1:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.
> 
> This likely means that the library (angular-infinite-list) which declares InfiniteListModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.

1 export declare class InfiniteListModule {
                       ~~~~~~~~~~~~~~~~~~

** Angular Live Development Server is listening on localhost:4200, open your browser
on http://localhost:4200/ **

Steps to reproduce:

  1. npm install -g @angular/cli
  2. ng new my-app
  3. npm install angular-infinite-list --save
import { InfiniteListModule } from 'angular-infinite-list';

@NgModule({
  imports: [
    BrowserModule,
    FormsModule,
    InfiniteListModule,
  1. ng serve

Observed bhaviour:
The error above

Expected behaviour:
App is compiled and delpoyed without issues

OS:

Angular CLI: 9.1.0
Node: 13.1.0
OS: win32 x64

Angular: 9.1.0
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.901.0
@angular-devkit/build-angular     0.901.0
@angular-devkit/build-optimizer   0.901.0
@angular-devkit/build-webpack     0.901.0
@angular-devkit/core              9.1.0
@angular-devkit/schematics        9.1.0
@ngtools/webpack                  9.1.0
@schematics/angular               9.1.0
@schematics/update                0.901.0
rxjs                              6.5.4
typescript                        3.8.3
webpack                           4.42.0

P.S,
This is versions of dependencies from demo app in repo which run without issues after some changes in code

@angular/cli: 1.4.9
node: 13.1.0
os: win32 x64
@angular/animations: 4.4.7
@angular/cdk: 2.0.0-beta.12
@angular/common: 4.4.7
@angular/compiler: 4.4.7
@angular/core: 4.4.7
@angular/forms: 4.4.7
@angular/http: 4.4.7
@angular/material: 2.0.0-beta.12
@angular/platform-browser: 4.4.7
@angular/platform-browser-dynamic: 4.4.7
@angular/router: 4.4.7
@angular/cli: 1.4.9
@angular/compiler-cli: 4.4.7
@angular/language-service: 4.4.7
typescript: 2.3.4

Usage: Fix casing for rxjs/Subject import

TypeScript compilation error if "forceConsistentCasingInFileNames" is set to true.

Change

import { Subject } from 'rxjs/subject';

to

import { Subject } from 'rxjs/Subject';

This error actually prevent projects from being built on case-sensitive file systems (like Linux).

Float Support?

Doe this component support vertical lists of floated elements? IOW, can I have a virtualized list of items that are floated left, kind of like a photo gallery?

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.