xamarin/Xamarin.Forms
[Bug] FontImageSource on ImageButton prevents click gesture
开放
#6,716 创建于 2019年6月30日
a/imagebuttone/3 :clock3:hackathonhelp wantedinactivet/bug :bug:up-for-grabs
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Description
I have the following XAML. The Clicked handler is NEVER received.
<ImageButton
Aspect="AspectFit"
BackgroundColor="transparent”
VerticalOptions="Center"
Grid.Column="0"
Padding="5"
Clicked="Handle_CloseClicked">
<ImageButton.Source>
<FontImageSource
FontFamily="{StaticResource FontAwesome}"
Glyph="{x:Static local:IconFont.Times}"
Color="{StaticResource cerulean}" />
</ImageButton.Source>
</ImageButton>
When I change the background to Red for example, I can touch the lower part when I do NOT click on the FontImageSource. It would seem that the transparent background is not clickable, and the FontImageSource is also not clickable. Both ought to be.
Basic Information
- Version with issue: 4.2.0.569926-nightly
- Platform Target Frameworks:
- iOS: 12.2
Screenshots
https://www.dropbox.com/s/36eyzoow8eghf0o/2019-06-29_20-21-32.mp4?dl=0