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

[Idea/v9] Emit scrolling-related events #412

Open
idiotWu opened this issue Nov 1, 2021 Discussed in #364 · 0 comments
Open

[Idea/v9] Emit scrolling-related events #412

idiotWu opened this issue Nov 1, 2021 Discussed in #364 · 0 comments
Assignees
Labels
accepted Feature requests that have been accepted. custom plugins idea
Milestone

Comments

@idiotWu
Copy link
Owner

idiotWu commented Nov 1, 2021

Discussed in #364

Originally posted by IljaDaderko April 2, 2021
I'm writing some logic that needs to be started on scroll start and ended when scrolling ends / becomes idle.

I can detect scroll start with scrolbar.addListener listener, but I can't seem to find anything that indicates "stop" event i.e. when scrollbars become idle and user is no longer pressing on the screen / using mouse wheel.

Is event like this exposed? If not what would be right approach here?

@idiotWu idiotWu added plugin system idea accepted Feature requests that have been accepted. labels Nov 1, 2021
@idiotWu idiotWu added this to the v9 milestone Nov 1, 2021
@idiotWu idiotWu self-assigned this Nov 1, 2021
@idiotWu idiotWu moved this to Widely-used Plugins in smooth-scrollbar@v9 Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Feature requests that have been accepted. custom plugins idea
Projects
Status: Widely-used Plugins
Development

No branches or pull requests

1 participant