Coder Social home page Coder Social logo

somespecialone / potiah Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 230 KB

Vue.js wrapper for Locomotive Scroll ๐Ÿš‚

Home Page: https://potiah.somespecial.one/

License: MIT License

JavaScript 0.95% TypeScript 52.53% Vue 45.36% HTML 1.16%
component lenis locomotive-scroll scroll typescript vue nuxt

potiah's Introduction

Just common header

Stand With Ukraine Profile hits

Generic profile body.

Smart quote placeholder

Get in touch


Stand With Ukraine

potiah's People

Contributors

somespecialone avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cmarcelly

potiah's Issues

Scroll detection broken after navigate through pages in Nuxt 3

Initial Checks

  • I have searched the existing issues for a duplicate and I'm sure this is something new
  • I am confident that the issue in the project code

Description

Hi!

I'm working on my Portfolio actually, and using Potiah for all animations on scroll stuff.

Everything was working very well on the home page but now that I created a Case Study new template page, things looks broken when I go back to the home page (using a NuxtLink or browser history back, same behavior).

The Lenis smooth scrolling is still working.

Enregistrement.d.ecran.le.2024-04-13.a.13.20.12_1.mp4

Maybe I missed something related to how Nuxt works or Potiah. It would be great if you could help me with that, I have a great experience using Vue, Nuxt and Potiah and I really want to stay with that kind of dev stack.

Thank s a lot.

===

Here is an example of component that is broken :

Capture dโ€™eฬcran, le 2024-04-13 aฬ€ 13 31 48

Steps To Reproduce

_

Environment

- Nuxt 3.10.3

Additional Information

No response

LocomotiveScroll methods

Initial Checks

  • I have searched the existing requests for a duplicate and I'm sure this is something new
  • I have read and followed the documentation (if possible) and still think this feature is missing

Description

Hi! First thank you for the great job you did with this plugin!

I'm looking for how to access all the methods provided by LocomotiveScroll, start(), stop(), addScrollElements(), etc

https://scroll.locomotive.ca/docs/#/methods

Thank you so much!

Additional Information

No response

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.