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

[Bug]: Sometimes not SelectTree render correctly #141

Open
dgironella opened this issue Feb 17, 2025 · 7 comments
Open

[Bug]: Sometimes not SelectTree render correctly #141

dgironella opened this issue Feb 17, 2025 · 7 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@dgironella
Copy link

What happened?

Sometime with no errors on console, SelectTree is not correctly rendered. If i reload page always is correctly rendered.

Image

Image

How to reproduce the bug

I can't reproduce it.

Package Version

3.1.45

PHP Version

8.3.16

Laravel Version

11.42.1

Which operating systems does with happen with?

macOS

Notes

Filament version 3.2.140

@dgironella dgironella added the bug Something isn't working label Feb 17, 2025
@Hegyusz
Copy link

Hegyusz commented Feb 25, 2025

Same issue happens with me also. Couldn't really reproduce it, why.

Image

@CodeWithDennis
Copy link
Owner

CodeWithDennis commented Feb 25, 2025

Could you check if spa() is enabled and check if it is fixed when you turn that off?

@dgironella
Copy link
Author

Could you check if spa() is enabled and check if it is fixed when you turn that off?

Yes, disable spa() not more problems, but spa is good for performance and user experience?

@CodeWithDennis
Copy link
Owner

Could you check if spa() is enabled and check if it is fixed when you turn that off?

Yes, disable spa() not more problems, but spa is good for performance and user experience?

I agree! I was just wondering if that was the issue. My knowledge on this problem is limited, so I’m not sure how to fix it. Maybe I could ask for some help on this.

@CodeWithDennis CodeWithDennis added the help wanted Extra attention is needed label Feb 25, 2025
@mgkimsal
Copy link

mgkimsal commented Mar 6, 2025

Also spa() disable here fixes this on my end - recent filament (3.2.141?) and php 8.3.x

can't find a root issue but will try to look this weekend.

@pavloselpidorou
Copy link

Also having the same issue. I have disabled the spa() option on my panel provider and it is working. Anyone found a solution to this while keeping the spa() enabled?

@ineffablesam
Copy link

ineffablesam commented Mar 15, 2025

This can be added to your FilamentServiceProvider to disable SPA for specific pages while keeping it enabled for others.
this is just a workaround.

->spaUrlExceptions(fn(): array => [
    '*/admin/products/*',
])

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

No branches or pull requests

6 participants