xamarin/Xamarin.Forms

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

Aperta

#3322 aperta il 17 lug 2018

 (1 commento) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/layoute/7 :clock7:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor