locked
ScrollView on UWP: Mouse position not tracked correctly? RRS feed

  • Question

  • User381871 posted

    I noticed that my ScrollView on UWP does not seem to track mouse position correctly. I make a long ScrollView using RequestedHeight="1000", and add a Checkbox. If the ScrollView is scrolled, then the CheckBox tracks the mouse position at the unscrolled location. Same problem with touch, coordinates are not translated to the scrolled location. It works fine on Android. What gives? Is there something I need to do for UWP specifically? Thanks, Lars

    Sunday, June 28, 2020 10:35 PM

Answers

  • User89714 posted

    @larsv

    It's a known bug in XF 4.7 . See https://github.com/xamarin/Xamarin.Forms/issues/11106

    There have been issues around ScrollView on UWP for a while. However, this one is a real humdinger. It makes XF 4.7.0.968 unusable for UWP apps IMHO. Apparently a fix has been checked in today, but no indication yet when it will be rolled out in a "stable" release.

    I ended up downgrading XF to 4.5 again because of this bug.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, July 1, 2020 7:05 PM

All replies

  • User89714 posted

    @larsv

    It's a known bug in XF 4.7 . See https://github.com/xamarin/Xamarin.Forms/issues/11106

    There have been issues around ScrollView on UWP for a while. However, this one is a real humdinger. It makes XF 4.7.0.968 unusable for UWP apps IMHO. Apparently a fix has been checked in today, but no indication yet when it will be rolled out in a "stable" release.

    I ended up downgrading XF to 4.5 again because of this bug.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, July 1, 2020 7:05 PM
  • User381871 posted

    @JohnHardman said: @larsv

    It's a known bug in XF 4.7 . See https://github.com/xamarin/Xamarin.Forms/issues/11106

    There have been issues around ScrollView on UWP for a while. However, this one is a real humdinger. It makes XF 4.7.0.968 unusable for UWP apps IMHO. Apparently a fix has been checked in today, but no indication yet when it will be rolled out in a "stable" release.

    I ended up downgrading XF to 4.5 again because of this bug.

    Bummer. Thanks for the update. And good that it's getting fixed, pretty rapidly from the looks of it. I'm at a stage of development where I can afford to wait a few weeks before ScrollView becomes important, so I'll just be patient.

    Wednesday, July 1, 2020 7:17 PM