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

fluxui.dev becomes unusable after navigating a bit between pages #1132

Open
3 tasks done
edo2313 opened this issue Feb 20, 2025 · 2 comments
Open
3 tasks done

fluxui.dev becomes unusable after navigating a bit between pages #1132

edo2313 opened this issue Feb 20, 2025 · 2 comments

Comments

@edo2313
Copy link

edo2313 commented Feb 20, 2025

Flux version

?

Livewire version

?

Tailwind version

?

What is the problem?

After navigating between the various component pages, the docs site becomes really slow and unusable. (in the video, at about 25/30 seconds)
After some quick debugging it seems like the issue is in the candy.module.js file, line 35233, as commenting out the call to operations.setTheme(true); (and also the same call in the else block) makes everything function correctly and JS never locks up.
It seems like the only thing that breaks after commenting those is the text color inside the code blocks, as switching the theme doesn't make it lighter/darker.
Also, as you can see, at 13 seconds in the video, the page flashes white because the dark mode class is removed from the html element: it was already discussed in this issue so maybe it's worth taking a look at it.

noaudio.mp4

Code snippets

Not applicable

How do you expect it to work?

No performance degradation

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.
@jeffchown
Copy link

I have also noticed a performance degradation on the site after frequent use/reference.

@joshhanley
Copy link
Member

@edo2313 thanks for reporting! Yeah we've noticed it too. Once we've ironed out the Flux v2 bugs, we'll have a look to see if we can fix it. Thanks for debugging it, that's a great help!

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

No branches or pull requests

3 participants