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

Maui Hybrid - BlazorWebView tracking doesnt work correctly #2

Open
Kebechet opened this issue Jul 15, 2024 · 3 comments
Open

Maui Hybrid - BlazorWebView tracking doesnt work correctly #2

Kebechet opened this issue Jul 15, 2024 · 3 comments
Assignees
Labels
clarity limitation external-bug Bugs we can't control/fix

Comments

@Kebechet
Copy link
Owner

Kebechet commented Jul 15, 2024

@Kebechet Kebechet added the bug Something isn't working label Jul 15, 2024
@Kebechet
Copy link
Owner Author

Kebechet commented Jul 16, 2024

I went through their:

  • docs
  • FAQ
  • some Github issues

and I also sent them email regarding this issue. Currently I cant do more. Theoretically resolution of ticket:
microsoft/clarity#326 would do the job

@Kebechet Kebechet self-assigned this Jul 16, 2024
@Kebechet
Copy link
Owner Author

I received response from Clarity. The limitation is that ALL styles that are needed for UI reconstruction have to be public. So when you have css baked only in your app it can be a problem. If you use e.g. bootstrap from public URL it will work as expected.

I will keep this issue opened till functionality for this is implemented into clarity.

@Kebechet Kebechet added clarity limitation and removed bug Something isn't working labels Jul 17, 2024
@Kebechet
Copy link
Owner Author

Kebechet commented Aug 3, 2024

Workaround:
Host your CSS on some public url and link them in your public app along those local ones. This way clarity will be able to reconstruct the UI session.

I was trying to disable the public CSS in index.html of my hybrid app so that there are not 2 same styles for everything but I wasnt able to. E.g. when applying disabled to the link href clarity wont be able to load it.

@Kebechet Kebechet added the external-bug Bugs we can't control/fix label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarity limitation external-bug Bugs we can't control/fix
Projects
None yet
Development

No branches or pull requests

1 participant