xamarin/Xamarin.Forms

[Android] Entry IsPassword property changing spacing between mask characters when toggled

Open

#3,322 opened on Jul 17, 2018

 (1 comment) (0 reactions) (0 assignees)C# (1,926 forks)batch import
a/layoute/7 :clock7:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

When entry field IsPassword is True by default and toggled to False and back to True again, the spacing between the mask characters is bigger than what it was initially.

Steps to Reproduce

  1. In the example app, type text into the Entry.
  2. Observe the spacing between the mark characters.
  3. Tap the Toggle button to unmask the text..
  4. Tap the Toggle button again to mask the text.
  5. Observe the spacing between the mask characters.

Expected Behavior

The spacing is wither initially more between the mask characters or it stays the same after toggle.

Actual Behavior

The spacing between the mask characters is increased after the first IsPassword toggle.

Basic Information

  • IDE: Visual Studio (Windows)
  • Platform Target Frameworks:
    • Android: 6.0

Screenshots

Initial spacing: image

Spacing after IsPassword toggled False -> True with Toggle button. image

  • Code Example
    • Page: image

    • Code Behind: image

Contributor guide