xamarin/Xamarin.Forms

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

Aberta

#3.322 aberto em 17 de jul. de 2018

 (1 comentário) (0 reação) (0 responsável)C# (1.926 forks)batch import
a/layoute/7 :clock7:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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

Guia do colaborador