xamarin/Xamarin.Forms

Android + Visual + Focus is wonky

Open

#5,366 opened on Feb 25, 2019

 (0 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
4.1.0a/visuale/5 :clock5:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Repository metrics

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

Description

I am not sure of all the things, but for some reason the whole focus things for Android controls (appears to be certain Material controls) is going wonky. It might also be the "fast renderer" part, but can't say for sure as there are not that many other fast renderers.

For example, if you tap the material page with sliders: android-focus

I added all sorts of focus-change listeners and events, but nothing appears to trigger. It looks to be a "visually focus, but not really" case.

When tapping entry (while holding the pointer down) the background of some page, ALL the controls get focus. This can be seen with the entry getting darker: android-entry

And, I have also noticed this in some cases - the WHOLE PAGE gets a ripple??? android-ripples

I can't reliably reproduce that one, but it happens. And, as a page can't get focus, this might be some event we are adding somewhere? Maybe we are making the wrong thing "focusable"?

Contributor guide