blob: 2edd55710664e4819dbebd70ba75918e43ddde7e (
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
28
|
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
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
}
};
}
}
}
|