Skip to content

[Android] Animating a WebView removes its natural clipping #2006

Closed

Description

@jeromelaban

Current behavior

If a WebView is animated through Opacity, when the content is loading, its clipping is disabled and overlaps its siblings. When the content is loaded, the WebView clipping is restored.

Expected behavior

The clipping is not removed when the WebView is animated.

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

  • Use the following sample: WebViewSpaceInvalid.zip
  • Set the android network setting to the lowest quality possible
  • Launch the app, and the background should be red.

Workaround

Animating the Visibility property works around the issue.

Environment

Nuget Package: 2.0.512-dev.3668

Package Version(s):

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?

Related to #1726, and most likely caused by 5ea2abc or 02ab884.

https://dev.azure.com/nventive/Umbrella/_workitems/edit/164132
https://dev.azure.com/nventive/Umbrella/_workitems/edit/164768
https://dev.azure.com/nventive/Umbrella/_workitems/edit/163829

Activity

  1. added
    kind/bug
    kind/regression
    on Oct 31, 2019
  2. added this to the 2.1 milestone on Nov 18, 2019
  3. added a commit that references this issue on Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/bugkind/regression

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions