Coder Social home page Coder Social logo

ehsan-shv / react-nice-scroll Goto Github PK

View Code? Open in Web Editor NEW
40.0 1.0 1.0 278 KB

A React library to smooth scroll and scroll-based animations.

Home Page: https://react-nice-scroll-docs.vercel.app/

License: MIT License

TypeScript 90.94% SCSS 7.66% JavaScript 1.40%
reactjs smooth-scroll gsap horizontal-scrolling image-parallax scroll-trigger gelly-element sequence-images

react-nice-scroll's People

Contributors

ehsan-shv 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

Watchers

 avatar

Forkers

edoedoedo

react-nice-scroll's Issues

update scroll

Is there a way to update scroll after modifying the content dynamically?

unable to track offset values

Hi

i want track offset value. In the functional component i added the below hook.

const [smoothScrollBar] = useGlobalState('smoothScrollBar');

Using useEffect, I want to track the changes of x and y offset values while updating them in the console.log

Return a state for manage loaders, untill images are not ready to use

Hey! Ehsan thanks for sharing such a nice library it made my day. let me tell you a little bit of enhancement for this library that should be considered. As I'm a beginner it might be helpful for me as well.

Although it is amazing, there should be a prop that can tell us about the loading state of the images. For example, I just use this library in my project it has 400 images for one sequence, When images are loaded by the library meanwhile my screen gets blank. I'm not quite sure how I can handle this but I think whenever the images are (e.g. first image of any sequence) being loaded by the library there should be a prop through which we/I can determine and manage any loader kinda stuff.

~Regards

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.