xamarin/Xamarin.Forms

[Android] readonly entry focus, select text not working

Aperta

#5843 aperta il 8 apr 2019

 (1 commento) (2 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/3 :clock3: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 I tap a readonly entry I can't get the focus on it, and I can't select the text on it it is behaving as a disabled entry ( regarding the functionality, not the UI). It works in the expected way in UWP but not in Android.

Steps to Reproduce

just creating an Entry like this <Entry Text="Test" IsReadOnly="True"></Entry>

Expected Behavior

The entry should get the focus and its text should be able to be selected

Actual Behavior

The entry doesn't get focus and the text can't be selected

Basic Information

  • Version with issue: 3.6.0.293080 (I've tried also 4.0.0.304370-pre8 with same behavior)

  • IDE: Visual Studio Community 2017 Version 15.9.10

  • Platform Target Frameworks:

    • Android: 8.1

Guida contributor