Skip to content

ButtonBase.Click refactoring to be raised before the Tapped event bubbling - #1014

Merged
carldebilly merged 12 commits into
masterfrom
dev/cdb/button-click
Jul 26, 2019
Merged

carldebilly merged 12 commits into
masterfrom
dev/cdb/button-click

Conversation

@carldebilly

@carldebilly carldebilly commented Jun 4, 2019 •

Copy link
Copy Markdown
Member

Bugfix

The Click event on ButtonBase was connected to Tapped event, causing problem when the event was handled in code.

What is the new behavior?

The code is now ensuring the Click event is always raised because the Tapped event starts bubbling
-- on all platforms.

TEMPORARY SOLUTION

This PR is a temporary solution while waiting for PR #1162 to be the real fix.

PR Checklist

Please check if your PR fulfills the following requirements:

Internal Issue (If applicable):

  • 153997 Pause / Play button does not respond
  • 155156 Uno Button.Click not wired properly
  • 132816 [Uno][iOS] Flyout button does not work
  • 151757

@carldebilly
carldebilly marked this pull request as ready for review June 4, 2019 20:58
Comment thread src/Uno.UI/UI/Xaml/UIElement.wasm.cs Resolved
@carldebilly
carldebilly force-pushed the dev/cdb/button-click branch from 0d86cb8 to bbe2c76 Compare June 5, 2019 18:19
@carldebilly
carldebilly force-pushed the dev/cdb/button-click branch from bbe2c76 to 631fc44 Compare June 11, 2019 14:11
@jeromelaban jeromelaban added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 19, 2019
@dr1rrb dr1rrb mentioned this pull request Jun 28, 2019
3 of 4 tasks
@jeromelaban

Copy link
Copy Markdown
Member

This #1227 looks like the current issue maybe addressed by this PR.

@carldebilly
carldebilly force-pushed the dev/cdb/button-click branch from 631fc44 to ad00e1d Compare July 23, 2019 19:58
@carldebilly carldebilly removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 23, 2019
@ghuntley ghuntley 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 platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform kind/bug Something isn't working labels Jul 24, 2019
@carldebilly
carldebilly force-pushed the dev/cdb/button-click branch from 7a2a62d to c7f4dd2 Compare July 24, 2019 17:39
@carldebilly
carldebilly force-pushed the dev/cdb/button-click branch from 78ed0ec to 4198fdd Compare July 24, 2019 20:41
@carldebilly
carldebilly force-pushed the dev/cdb/button-click branch from 4198fdd to d83e4e2 Compare July 25, 2019 14:17
@carldebilly
carldebilly merged commit 1a786a6 into master Jul 26, 2019
@delete-merged-branch
delete-merged-branch Bot deleted the dev/cdb/button-click branch July 26, 2019 12:15
@jeromelaban

Copy link
Copy Markdown
Member

@carldebilly android unit tests were failing (for good reasons it seems)

kazo0 pushed a commit to kazo0/uno that referenced this pull request Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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 platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants