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

fix: skia+wasm shadow-container hitbox #1292

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

Xiaoy312
Copy link
Contributor

GitHub Issue (If applicable): closes #1139, closes #1184

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

On skia and wasm, the hitbox of ShadowContainer is much larger than its visual/content (depending on the shadows used), often prevent neighboring elements from receiving pointer events.

What is the new behavior?

The shadow layer is now IsHitTestVisible=False, and no longer interferes with clickability of neighboring elements.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Tested the changes where applicable:
    • UWP
    • WinUI
    • iOS
    • Android
    • WASM
    • MacOS
  • Updated the documentation as needed
  • Runtime Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Contains NO breaking changes
  • Associated with an issue (GitHub or internal)
  • Commits must be following the Conventional Commits specification.

Other information

from observation, this issue seems to only impact skia and wasm. windows, android and ios are unaffected.

@Xiaoy312
Copy link
Contributor Author

sc hitbox

Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-1292.eastus2.azurestaticapps.net

@kazo0 kazo0 enabled auto-merge (squash) November 27, 2024 16:33
@Xiaoy312
Copy link
Contributor Author

@Mergifyio backport release/stable/6.3

Copy link
Contributor

mergify bot commented Nov 27, 2024

backport release/stable/6.3

✅ Backports have been created

@kazo0 kazo0 merged commit 71fc2e4 into main Nov 27, 2024
28 checks passed
@kazo0 kazo0 deleted the dev/xygu/20241127/shadowcontainer-hitbox branch November 27, 2024 22:23
mergify bot pushed a commit that referenced this pull request Nov 27, 2024
kazo0 pushed a commit that referenced this pull request Nov 28, 2024
Co-authored-by: Xiaotian Gu <xiaoyao312@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants