Gary Chan

Results 38 comments of Gary Chan
trafficstars

I've done some further testing. The underlying issue with this implementation appears to be _timing_. An action on a browser page may not be complete before the next action on...

> Hi.. is this issue still open, i'll like to contribute to it. I'm asking because the last contribution was in 2018 This project is inactive 🙁

What is the current status of this? I was attempting to enable [role management](https://docs.microsoft.com/en-us/azure/static-web-apps/authentication-authorization?tabs=function) and test locally. I expected my `GetRoles` function to be called but it wasn't after login....

@tomanizer I just came across the same issue. Look under the _Properties_ folder for _launchSettings.json_ . Visual Studio 2022 was overriding the _LocalHttpPort_ in the _local.settings.json_ with the one provided...

Looks like this problem is recurrurrent 🤔. I found the following as well https://github.com/Azure/Azure-Functions/issues/584#issuecomment-343529583

Hi @MackinnonBuck, > To clarify, is the issue that the enhancedload event currently does get invoked in Blazor Hybrid and WebAssembly applications, and it should not? Or that it currently...

@MackinnonBuck I think I found my problem. I took a deep dive into your [BlazorPageScript](https://github.com/MackinnonBuck/blazor-page-script) library and [found](https://github.com/MackinnonBuck/blazor-page-script/blob/599c37c8f5f85c79e1e845b8b18ea5d4406c85c6/src/wwwroot/BlazorPageScript.lib.module.js#L67C1-L90C2) ```javasript export function afterWebStarted(blazor) { customElements.define('page-script', class extends HTMLElement { static observedAttributes...

@MackinnonBuck For reference this is related to an issue, I found in the [FluentNavMenu ](https://github.com/microsoft/fluentui-blazor/tree/dev/src/Core/Components/NavMenu)component in [FluentUI-Blazor](https://github.com/microsoft/fluentui-blazor) 😄. A separate implementation based on your [project](https://github.com/MackinnonBuck/blazor-page-script) was created ([FluentPageScript ](https://github.com/microsoft/fluentui-blazor/blob/dev/src/Core/Components/FluentPageScript.razor) and...

@MackinnonBuck FYI, I found the cause of the issue in the FluentUI Blazor library. See [this](https://github.com/microsoft/fluentui-blazor/pull/1633#issuecomment-2002552015). My mistake was thinking the **onLoad** was being triggered by the **enhancedload** event which...

A workaround was asked for in #417, a duplicate of this issue. See the following: https://github.com/microsoft/fluentui-blazor/issues/417#issuecomment-1602965916