xamarin/Xamarin.Forms

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

開放

#3,322 建立於 2018年7月17日

 (1 則留言) (0 個反應) (0 位負責人)C# (1,926 個分叉)batch import
a/layoute/7 :clock7:help wantedinactivep/Androidt/bug :bug:up-for-grabs

倉庫指標

星標
 (5,644 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南