-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add the possibility to customize the scrollbar #6
Comments
Hi, can I do this? |
Hi @eduaugustus 👋 thank you for considering contributing to this project! Sure feel free to open a pull request 👍 |
Hi @eduaugustus, do you need help on this ? |
Hi @frinyvonnick, I been thinkin about the solution, it's ok use react-custom-scrollbar? |
You mean this repository https://github.com/malte-wessel/react-custom-scrollbars ? Sure it is the one used in the codesandox I linked as example 😉 |
ah okay, I'll use this :D |
@frinyvonnick I've been thinking about solution in this weekend. The dev go set a prop in scroolbar like |
You mean something like this: <InfiniteLoading
hasMoreItems={hasMore}
itemHeight={40}
loadMoreItems={fetchMore}
+ scrollbar
>
{items.map(item => <div key={item}>{item}</div>)}
</InfiniteLoading> If <InfiniteLoading
hasMoreItems={hasMore}
itemHeight={40}
loadMoreItems={fetchMore}
+ scrollbar
+ scrollbarProps={{ universal: true }}
>
{items.map(item => <div key={item}>{item}</div>)}
</InfiniteLoading> Does it seems correct? |
@frinyvonnick Hmm this style I think the scroll gonna have many props, I realy been think other way, if you pass |
@frinyvonnick LOL I'm sorry, I not understand before, but now it's clear, what you say is right hahaha |
👋 @eduaugustus If you want some help you could create a pull request with your implementation so we could discuss about it together? |
It would be nice to have the possibility to customize the scrollbar. Here is an example.
There is a codesandbox with a working example of code 👍
The text was updated successfully, but these errors were encountered: