Skip to content

fix(flyout): Keep flyouts above the on-screen keyboard (backport #26060) (backport #26062) - #26267

Merged
agneszitte merged 3 commits into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-26062
Nov 10, 2026
Merged

agneszitte merged 3 commits into
release/stable/6.7from
mergify/bp/release/stable/6.7/pr-26062

Conversation

@mergify

@mergify mergify Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

GitHub Issue: related to #26060

PR Type:

🐞 Bugfix

What changed? 🚀

Manual servicing/6.8 backport of #26060, synced up to its head e84d9e0346. That PR is approved but not merged on master yet; this one is synced again if it changes.

What it fixes (same as the master PR): on mobile web, the on-screen keyboard covered flyouts. Now:

  • Flyouts are placed above the on-screen keyboard.
  • Open flyouts are placed again when the keyboard shows or hides (Skia).
  • A flyout that fits on no side is shrunk next to its target, and its content scrolls (WinUI's ResizeToFit).
  • WebAssembly reports keyboard occlusion at most once per animation frame.

Why not a Mergify backport: master moved or merged several of these files for 7.0. Adapted for 6.8:

  • The InputPane change goes into InputPane.skia.cs, where 6.x keeps it (same place as fix(inputpane): Scroll root content above the keyboard (backport #24947) #25032).
  • Paths: Uno.UI.Runtime.Skia.WebAssembly.Browser (TypeScript), Uno.UI.RuntimeTests/Tests/..., SamplesApp.Samples/Windows_UI_ViewManagement.
  • Boxer.Box only exists on 7.0, so it's a plain SetValue.
  • The iOS native PickerFlyoutPopupPanel override takes the new minSize parameter.
  • The new Given_Flyout test skips the 6.x native heads, which master doesn't have.
  • The Given_Flyout test helper FindDescendant<T> uses pattern matching instead of as T: DependencyObject is an interface on 6.x but a class on WinAppSDK.

PR Checklist ✅

  • 📝 Commits follow the Conventional Commits spec
  • 🧪 Runtime tests come with the master PR (Given_InputPane, Given_Flyout)
  • 🖥️ Built locally: Uno.UI for Skia, and the native Android, iOS and WebAssembly heads; the runtime tests for Skia and WinAppSDK, and the Skia SamplesApp head (6.x PR builds skip the native stages)

🤖 Generated with Claude Code


This is an automatic backport of pull request #26062 done by [Mergify](https://mergify.com).

agneszitte and others added 3 commits November 9, 2026 22:36
Manual servicing/6.8 backport of #26060
at c52767a, adapted to the 6.x layout:

- The InputPane change goes into InputPane.skia.cs, where 6.x keeps it.
- Paths: Uno.UI.Runtime.Skia.WebAssembly.Browser, Uno.UI.RuntimeTests/Tests,
  SamplesApp.Samples/Windows_UI_ViewManagement.
- Boxer.Box (7.0 only) becomes a plain SetValue.
- The iOS native PickerFlyoutPopupPanel override takes the new minSize parameter.
- The new Given_Flyout test skips the 6.x native heads, which master doesn't have.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit a0dd2ae)
Brings 5686c7d (mobile CI flyout tests) and d565b0b (WinUI resize test)
from #26060.

The FindDescendant<T> helper also gets a class constraint: on 6.x,
DependencyObject is an interface, so "as T" doesn't compile without it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 90dc007)
Brings e84d9e0 (WinUI's flyout margin overflow) from
#26060.

FindDescendant<T> now uses pattern matching instead of a class constraint:
DependencyObject is an interface on 6.x but a class on WinAppSDK, where
"where T : class, DependencyObject" fails with CS0450.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit cfd3944)
@github-actions github-actions Bot added platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform area/skia ✏️ Categorizes an issue or PR as relevant to Skia area/automation Categorizes an issue or PR as relevant to project automation labels Nov 9, 2026
@unodevops

Copy link
Copy Markdown
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here:

@nventive-devops

Copy link
Copy Markdown
Contributor

The build 244980 did not find any UI Test snapshots differences.

@agneszitte
agneszitte merged commit 5db9d6b into release/stable/6.7 Nov 10, 2026
42 of 48 checks passed
@agneszitte
agneszitte deleted the mergify/bp/release/stable/6.7/pr-26062 branch November 10, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/automation Categorizes an issue or PR as relevant to project automation area/skia ✏️ Categorizes an issue or PR as relevant to Skia platform/ios 🍎 Categorizes an issue or PR as relevant to the iOS platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants