Skip to content

fix: disable browser accelerator keys (F5 reload) in Windows webviews#688

Merged
abose merged 1 commit intomainfrom
st
Mar 2, 2026
Merged

fix: disable browser accelerator keys (F5 reload) in Windows webviews#688
abose merged 1 commit intomainfrom
st

Conversation

@abose
Copy link
Member

@abose abose commented Mar 2, 2026

Fixes: phcode-dev/phoenix#2652

Uses WebView2 ICoreWebView2Settings3 API via on_page_load to disable browser accelerator keys in all windows, preventing F5 from reloading the app. Applies to both config-defined and dynamically created windows.

Uses WebView2 ICoreWebView2Settings3 API via on_page_load to disable
browser accelerator keys in all windows, preventing F5 from reloading
the app. Applies to both config-defined and dynamically created windows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 2, 2026

@abose abose merged commit ac4195d into main Mar 2, 2026
4 of 6 checks passed
@abose abose deleted the st branch March 2, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

F5 reloads the whole app in windows desktop

1 participant