Skip to content

[Wasm] non-virtualized lists are incorrectly allowing scrolling #2111

Closed

Description

@jeromelaban

Current behavior

The home page of XAML Controls gallery allows for scrolling: https://xamlcontrolgallery-xamlcontrolgallery-staging.azurewebsites.net/

Expected behavior

The scrolling should not be enabled if the list fills the whole available space.

How to reproduce it (as minimally and precisely as possible)

https://xamlcontrolgallery-xamlcontrolgallery-staging.azurewebsites.net/

Environment

Package Version(s): 2.0.512-dev.3976

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • Windows
  • Build tasks
  • Solution Templates

Visual Studio:

  • 2017 (version: )
  • 2019 (version: )
  • for Mac (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

Activity

  1. added
    kind/bug
    triage/untriaged
    on Nov 18, 2019
  2. added this to the 2.0 milestone on Nov 18, 2019
  3. added
    platform/wasm 🌐
    on Nov 21, 2019
  4. dr1rrb commented on Nov 21, 2019

    @dr1rrb
    Member

    This is due to a weird behavior (a.k.a. bug) of webkit (this works properly on Edge) which seems to be caused by the transform: translate(0, 0); that we added on all UIElement in order to be able to properly measure text and images.

    It was hidden by the fact that we where clipping almost all elements, but this is no longer the case since #1726.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugplatform/wasm 🌐triage/untriaged

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions