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

[Android/iOS] Buttons that are translated out of their parent Panel are not clickable #7393

Open
kazo0 opened this issue Oct 27, 2021 · 1 comment
Labels
difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) project/pointers 🖱️ Categorizes an issue or PR as relevant to mouse/touch/pen pointers

Comments

@kazo0
Copy link
Contributor

kazo0 commented Oct 27, 2021

Current behavior

<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
	<StackPanel Background="Red" VerticalAlignment="Center" HorizontalAlignment="Center">
		<Button Content="Test1">
			<Button.RenderTransform>
					<TranslateTransform Y="-32" />
				</Button.RenderTransform>
		</Button>
		<Button Content="Test2" />

		<Button Content="Test3" />
	</StackPanel>
</Grid>

image

Given the above XAML, the "Test1" button will be translated outside of the StackPanel and will no longer receive pointer events

Expected behavior

Should behave like Windows and still be clickable

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

Yes

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

No response

Affected platforms

iOS, Android

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@kazo0 kazo0 added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Oct 27, 2021
@jeromelaban
Copy link
Member

/cc @dr1rrb

@kazo0 kazo0 changed the title [Android/iOS] Buttons that are translated out of their parent Panel are not-clickable [Android/iOS] Buttons that are translated out of their parent Panel are not clickable Aug 11, 2022
@Xiaoy312 Xiaoy312 added platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform project/pointers 🖱️ Categorizes an issue or PR as relevant to mouse/touch/pen pointers and removed triage/untriaged Indicates an issue requires triaging or verification labels Aug 13, 2022
@MartinZikmund MartinZikmund added project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding kind/bug Something isn't working platform/android 🤖 Categorizes an issue or PR as relevant to the Android platform platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) project/pointers 🖱️ Categorizes an issue or PR as relevant to mouse/touch/pen pointers
Projects
None yet
Development

No branches or pull requests

4 participants