xamarin/Xamarin.Forms

[Android] readonly entry focus, select text not working

Open

#5,843 opened on Apr 8, 2019

 (1 comment) (2 reactions) (0 assignees)C# (1,926 forks)batch import
e/3 :clock3:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide