Css change after form Page is loaded

Hello there. Using Filament v.2. great tool! But some users complain me about css changes after form Pages (create/ ediit) are loaded. It happens with input borders colors but specially with searchable inputs and file inputs (filepods) Specially annoying in slow connections and Big forms. Any idea how can I avoid this? Maybe a loader cloak - spinner? THX in advance
9 Replies
toeknee
toeknee16mo ago
This tends to be how livewire / alpinejs works I suspect. You could add a loading icon until the dom has completly finished
awcodes
awcodes16mo ago
Unfortunately, there’s not much that can be done in this situation. With a slow connection it can take a while to load the css, js, etc. and this could happen on any site.
Juan Duarte Molina
THX .. any clue of how can achieve that in filament? Yes but... in this case I think is more a JS/Alpine issue in combination with liveware workflow. Even with a normal connection the UIX is not very good
toeknee
toeknee16mo ago
Cn you provide a video as ours here with a normal connection is quick and I've got 200+ fields in a form
Juan Duarte Molina
Thank you for tour time
toeknee
toeknee16mo ago
That's not normal, try preloading your selects
Juan Duarte Molina
Yep, I tried this with no luck.. AnyWay the vídeo is ctrl F5 reload & I see t'he same behavior in Filament Demo .. (not as exaggerated as in my video). I think the best solution will be a cloak + spinner
toeknee
toeknee16mo ago
Have you tried a different browser? I'm not seeing that in the slightest
Juan Duarte Molina
Sorry.. takes too long to response . Yes I tried Chrome, Mozilla & Opera.. same
Want results from more Discord servers?
Add your server
More Posts