blob: 8b6bb85a7c09000f4a08afb0fb2de8805b323e90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
using Xamarin.Forms.CustomAttributes;
namespace Xamarin.Forms.Controls
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 39702, "Cannot enter text when Entry is focus()'d from an editor completed event")]
public class Bugzilla39702 : TestContentPage // or TestMasterDetailPage, etc ...
{
protected override void Init()
{
Title = "focus test";
var editor = new Editor();
var entry = new Entry();
editor.Unfocused += (object sender, FocusEventArgs e) => entry.Focus();
Content = new StackLayout
{
Children =
{
editor,
entry
}
};
}
}
}
|