Skip to content
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

Microsoft.JSInterop.JSException: element.AddEventListener is not a function errors thrown to StdOut #17

Closed
Smurf-IV opened this issue Mar 15, 2021 · 10 comments
Labels
All OS bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@Smurf-IV
Copy link

image

@MikeYeager
Copy link
Collaborator

Thanks for the post. Please join the discussion on #18

@ottodobretsberger ottodobretsberger added bug Something isn't working question Further information is requested labels Mar 25, 2021
@ottodobretsberger
Copy link
Contributor

For repro purposed we would need some more information about the running OS, the steps taken to trigger the error, etc.
More detail would help us with that investigation.

@Smurf-IV
Copy link
Author

Use Blazorise.
Add A TextInput
Start the Blazor application in Photino.

@ottodobretsberger
Copy link
Contributor

We are planning to update the Blazor source code from Microsoft, since the current internal version is still based on 3.1
That may fix it. If that doesn't, we can consider looking further into the issue with Blazorise.

@Tewr
Copy link

Tewr commented Dec 15, 2021

Hello. This came up as an issue earlier this year in a blazor component I'm maintaining, and I'm pretty sure the underlying error is the (non-)management of ElementReference, as described in #28

@MikeYeager MikeYeager added help wanted Extra attention is needed All OS labels Dec 16, 2021
@MikeYeager
Copy link
Collaborator

If the community fixes and does a pull request, we're happy to merge it and post a new version.

@MikeYeager
Copy link
Collaborator

@Tewr Photino.Blazor is now updated to use .NET 6. Please try again and let us know if this is now fixed.

@Denny09310
Copy link
Contributor

Denny09310 commented Mar 12, 2022

@Tewr Photino.Blazor is now updated to use .NET 6. Please try again and let us know if this is now fixed.

Hi, I'm new to Photino with Blazor and maybe someone has found a workaround, but the problem is still present.
Using the template provided in the repo as starting point I was trying to use Blazored.LocalStorage functionalities but when I try to Save/Access into the local storage it thorws an error.
I don't know if it's the same problem as this, but I'll try to include as much details as possible.
I'll include even the Blazored service configuration, maybe I'm doing something wrong there.

EDIT:
I leave it here in case the problem reoccurs, but in another project (a new one) it works just fine

image
image

@ottodobretsberger
Copy link
Contributor

Thank you for pointing this out. As time permits we will look into this more (unless there's community involvement/help before we get to do so)

@MikeYeager
Copy link
Collaborator

We believe this is closed along with issue #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
All OS bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants