iced
iced copied to clipboard
`on_scroll` is not fired when scrolling via operations
Is there an existing issue for this?
- [X] I have searched the existing issues.
Is this issue related to iced?
- [X] My hardware is compatible and my graphics drivers are up-to-date.
What happened?
When scrolling via scroll_to
or snap_to
, the callback passed through on_scroll
is not fired, hiding thus vital information about the current offset of the scrollable that can't be queried through other means.
If I show a percentage indicator of some scrollable in my app and perform a scroll_to
operation, I don't know what's the new relative offset.
What is the expected behavior?
on_scroll
should fire on every scrolling event.
Version
crates.io release
Operating System
Linux
Do you have any log output?
No response