Code Monkey home page Code Monkey logo

ng2-sticky-nav's People

Contributors

eric-carlton avatar stokingerl avatar willyboy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ng2-sticky-nav's Issues

3 dependent libraries are depricated

When installing this package I get the following warnings:
1. npm WARN deprecated [email protected]: this library is no longer supported
2. npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in
certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
3. npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142

They all seem to stem from the dependency on [email protected]. Is there a way to upgrade the package so that it is no longer dependent on request that is now in maintenance mode.

Not compatible with Angular 9

Pretty sure the removal of long-deprecated Renderer causes this library to break.
https://angular.io/guide/migration-renderer
Apparently moving to Renderer2 is easy.
Package seems to be missing proper peer dependencies, for what it's worth.

ERROR in node_modules/ng2-sticky-nav/dist/src/sticky-nav.directive.d.ts:1:10 - error TS2724: Module '"<...>/node_modules/@angular/core/core"' has no exported member 'Renderer'. Did you mean 'Renderer2'?

1 import { Renderer, ElementRef, OnInit, OnDestroy } from '@angular/core';
           ~~~~~~~~

  node_modules/@angular/core/core.d.ts:5692:31
    5692 export declare abstract class Renderer2 {
                                       ~~~~~~~~~
    'Renderer2' is declared here.

Not working with the latest version of the Angular CLI and typescript

ERROR in ./node_modules/ng2-sticky-nav/index.ts
Module build failed: Error: C:..\node_modules\ng2-sticky-nav\index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
at AngularCompilerPlugin.getCompiledFile (C:\Aluminyze\Source\aluminyze-static\Aluminyze.Static\Scripts\azWebApp\node_modules@ngtools\webpack\src\angular_compiler_plugin.js:677:23)
at plugin.done.then (C:\Aluminyze\Source\aluminyze-static\Aluminyze.Static\Scripts\azWebApp\node_modules@ngtools\webpack\src\loader.js:467:39)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
ERROR in ./node_modules/ng2-sticky-nav/src/sticky-nav.directive.ts

Property 'fromEvent' does not exist on type 'typeof Observable'.

I want to create a sticky nav in angular 6 but unfortunatelly does not work

Here is is error I am getting ERROR in node_modules/ng2-sticky-nav/src/sticky-nav.directive.ts(21,20): error TS2339: Property 'fromEvent' does not exist on type 'typeof Observable'.

can you please update the package for angular 6 users?

Angular 17 compatibility

Hi, we're very happily using your sticky navbar module. However it doesn't work on the latest version of Angular 17. Could you please update the project so we can keep using it?

Rotate Issue

First fo all thank you for my help. I have find a issue in ng2-sticky-nav when i rotate my mobile nav sticky before reached before position.

Scroll issue in Chrome and Firefox

Hi ,
I am using this feature in one of my project.It works well in IE but in chrome and firefox on scroll the nav shifts from right to left.

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.