xamarin/Xamarin.Forms

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

Ouverte

#3 322 ouverte le 17 juil. 2018

 (1 commentaire) (0 réaction) (0 personne assignée)C# (1 926 forks)batch import
a/layoute/7 :clock7:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur