uno icon indicating copy to clipboard operation
uno copied to clipboard

ScrollViewer.ViewChanging doesn't fire on android

Open Henk7 opened this issue 6 years ago • 3 comments

<ScrollViewer VerticalScrollMode="Enabled" HorizontalScrollMode="Enabled"
    ViewChanged="ScrollViewer_ViewChanged" ViewChanging="ScrollViewer_ViewChanging">
    <Border Height="1000" Width="1000" Background="Red"/>
</ScrollViewer>

The ScrollViewer_ViewChanged fires, the ScrollViewer_ViewChanging doesn't. Tried with 1.31.0-dev.91 Repo inside

Henk7 avatar Jun 29 '18 18:06 Henk7

@Dissolute sounds familiar ?

jeromelaban avatar Jun 29 '18 18:06 jeromelaban

Yes, we haven't implemented it yet (for any platform).

@Henk7 Out of curiosity do you have a use case that requires ViewChanging?

davidjohnoliver avatar Jun 30 '18 09:06 davidjohnoliver

No in the end i didn't, because ViewChanged also gives similar results. I first used ViewChanging and it was a little confusing during debug. I think it would be less confusing if the event wasn't implemented at all, so one would get a error during compile time.

Henk7 avatar Jun 30 '18 18:06 Henk7

Duplicate of #6746

MartinZikmund avatar Oct 24 '22 08:10 MartinZikmund