Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROADMAP #287

Open
3 of 9 tasks
clementroche opened this issue Jan 31, 2024 · 5 comments
Open
3 of 9 tasks

ROADMAP #287

clementroche opened this issue Jan 31, 2024 · 5 comments
Assignees

Comments

@clementroche
Copy link
Member

clementroche commented Jan 31, 2024

List

  • support pull to refresh and UI collapse on syncTouch
  • rename options correctly (eg: syncTouch -> touch.sync) (breaking change)
  • support scroll snap (https://github.com/darkroomengineering/lenis/blob/main/packages/snap/README.md)
  • support typescript
  • support more frameworks (Vue, Svelte, ...)
  • support RSC 'use client'
  • listen to overflow change and stop/start accordingly
  • include scroll-padding to scrollTo
  • auto RAF

How can you help ?

@clementroche clementroche self-assigned this Jan 31, 2024
@clementroche clementroche pinned this issue Jan 31, 2024
@polar-sh polar-sh bot added Fund and removed Fund labels Feb 26, 2024
@Myphz
Copy link
Contributor

Myphz commented Mar 30, 2024

Hello! I see that many types are typed as any in dist/types.
Would it be helpful to open a PR and make those types a bit narrower? Or are you working on it already?

@clementroche
Copy link
Member Author

@Myphz PR are always welcome

@Myphz
Copy link
Contributor

Myphz commented May 29, 2024

@Myphz PR are always welcome

I opened #345 to improve TypeScript support. Let me know if everything's ok! Thank you

@giuliobracci
Copy link

Hi @clementroche regarding rename options correctly (eg: syncTouch -> touch.sync), you are talking about renaming and also refactoring the options passed on Lenis instantiation?

E.G:

const lenis = new Lenis({
    lerp: 0.1,
    touch: {
     sync: false,
     syncLerp: 0.075,
     inertiaMultiplier: 35
    },
});

@clementroche
Copy link
Member Author

clementroche commented Jun 27, 2024

Hi @clementroche regarding rename options correctly (eg: syncTouch -> touch.sync), you are talking about renaming and also refactoring the options passed on Lenis instantiation?

E.G:

const lenis = new Lenis({
    lerp: 0.1,
    touch: {
     sync: false,
     syncLerp: 0.075,
     inertiaMultiplier: 35
    },
});

Yes @giuliobracci

const lenis = new Lenis({
    wheel: {
      lerp: 0.1,
    },
    touch: {
     sync: false,
     lerp: 0.075,
     inertiaMultiplier: 35
    },
});

@clementroche clementroche changed the title TODOS ROADMAP Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants