Skip to content

TextInputOptions.ContentType="Password" causes Samsung Keyboard to stop responding #18772

Closed
@BobbyCannon

Description

@BobbyCannon

Describe the bug

If you create a textbox with ContentType password the Samsung Keyboard will lock up.

-- Also found that TextInputOptions.ShowSuggestions="False" also causes the issue.

Not working in 11.2.0+, 11.3.0-RC1

Works in 11.1.0+

<TextBox
	PasswordChar="*"
	TextInputOptions.IsSensitive="True"
	TextInputOptions.ContentType="Password" />

Thes code works but the Samsung Keyboard will still offer suggestions which is dangerous.

<TextBox x:Name="Password"
	PasswordChar="*"
	TextInputOptions.IsSensitive="True" />

To Reproduce

  1. Launch the Avalonia Catalog Sample on a Samsung device
  2. Visit the TextBox sample page
  3. Click on the Password Box
  4. Try to enter text, keyboard will lock up.

Just create a brand-new Avalonia app and add the following code to the MainView.axaml.

<TextBox
	PasswordChar="*"
	TextInputOptions.IsSensitive="True"
	TextInputOptions.ContentType="Password" />

Launch the app on a Samsung device.

Expected behavior

Keyboard should work but just not offer suggestions

Avalonia version

11.3.0-RC1

OS

Android

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions