Skip to content

Modal focus management: InputFocusNavigationHost::GetForSiteBridge fails on a DesktopPopupSiteBridge #14604

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

Open
acoates-ms opened this issue Apr 22, 2025 · 1 comment

Comments

@acoates-ms
Copy link
Collaborator

acoates-ms commented Apr 22, 2025

There is currently an issue in WASDK which prevents us from getting InputFocusNavigationHost from a DesktopPopupSiteBridge. This means various parts of the Modal component's focus management is broken.

m_popUp = winrt::Microsoft::UI::Content::DesktopPopupSiteBridge::Create( 
 ....

// This fails in current WASDK version
auto navHost = 
 winrt::Microsoft::UI::Input::InputFocusNavigationHost::GetForSiteBridge(m_popUp);
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Apr 22, 2025
@chrisglein chrisglein added this to the Next milestone Apr 24, 2025
@chrisglein
Copy link
Member

@acoates-ms When you have a tracking link for the WASDK bug, link it here.

@chrisglein chrisglein removed the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants