-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
i am trying to sync between my blazor app's PageTitle and the window's title but apparently PageTitle is ignored when running inside BlazorWebView control on winforms and maui.
Expected Behavior
PageTitle is set properly so i can read it with document.title with JS interop.
Steps To Reproduce
- create a hybrid app.
- create a new page and a nav to it.
- put
<PageTitle>something</PageTitle>in the new page. - run the app and navigate to the new page.
- open the built in dev tools (F12).
- on the console tab and run
document.title. - the result is not
something.
Exceptions (if any)
No response
.NET Version
9.0.200
Anything else?
No response