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

Scrolling with mouse's scroll and set element type #39

Closed
jhvissotto opened this issue Jul 10, 2020 · 4 comments
Closed

Scrolling with mouse's scroll and set element type #39

jhvissotto opened this issue Jul 10, 2020 · 4 comments

Comments

@jhvissotto
Copy link

Nice library brow!! Thanks very much!

But you could add more two new features:

  1. Horizontal scrolling with mouse's scroll.

And (2) set element type in component. Example:

<DraggableScroll element="ul" >
    {list.map(({ name }, i) => (
        <li key={i} >{name}</li>
    ))}
</DraggableScroll>
@Norserium
Copy link
Owner

Hello, @jhenriquevissotto! I don't understand, what the first feature means? The second feature looks reasonable.

@Norserium
Copy link
Owner

Norserium commented Sep 25, 2020

@jhenriquevissotto, the second feature is implemented in 0.17.0. I've added component property.

@Blackoutseeker
Copy link

@jhenriquevissotto You can press and hold SHIFT (left) key and scroll the mouse.

@Norserium
Copy link
Owner

Closed due inactivity.

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