xamarin/Xamarin.Forms

Android + Visual + Focus is wonky

開放

#5,366 建立於 2019年2月25日

 (0 則留言) (0 個反應) (0 位負責人)C# (1,926 個分叉)batch import
4.1.0a/visuale/5 :clock5:help wantedinactivep/Androidt/bug :bug:up-for-grabs

倉庫指標

星標
 (5,644 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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"?

貢獻者指南