Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus Event stops working when Sentry.Maui is installed #1886

Closed
Higor13 opened this issue Aug 31, 2022 · 2 comments · Fixed by #1891
Closed

Focus Event stops working when Sentry.Maui is installed #1886

Higor13 opened this issue Aug 31, 2022 · 2 comments · Fixed by #1891
Assignees
Labels
Bug Something isn't working

Comments

@Higor13
Copy link

Higor13 commented Aug 31, 2022

Package

Sentry.Maui

.NET Flavor

.NET

.NET Version

6.0.400

OS

Windows

SDK Version

3.20.1

Self-Hosted Sentry Version

No response

Steps to Reproduce

  1. Create a Maui project;
  2. Add Sentry.Maui package;
  3. Add at least two entries and one button;
  4. Give the entries x:Names like entry1 and entry2;
  5. On the button clicked method try this: entry2.Focus();
  6. Unistall Sentry.Maui package and try again and will work;

Expected Result

The focus should goes to entry2.

{ entry2.Text = "something"; entry2.Focus(); }

Actual Result

Nothing happens, no erros on output. The entry2.Focus(); it's just ignored. Nothing happens. If you add another event like entry2.Text = "something"; it works but the Focus is ignored.

@Higor13 Higor13 added Bug Something isn't working Platform: .NET labels Aug 31, 2022
@mattjohnsonpint
Copy link
Contributor

Thanks for reporting. I'll investigate this right away.

@mattjohnsonpint
Copy link
Contributor

I have found and fixed the problem. See the PR for details.

It will be in the next release. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants