filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.
https://filamentphp.com
MIT License
17.81k stars 2.79k forks source link

When widget lazy loading, the widget cannot get the correct height. #14315

Closed panlatent closed 2 hours ago

panlatent commented 2 hours ago

Package

filament/filament

Package Version

v3.2.113

Laravel Version

11.9

Livewire Version

v3.2.113

PHP Version

8.2.22

Problem description

When the widget is lazy loaded, the height of the section element that wraps it is set to 8rem. After the widget is displayed, the section still maintains this height, which causes the widget content to overflow.

This problem does not occur when $isLazy is false

Expected behavior


Steps to reproduce


Reproduction repository (issue will be closed if this is not valid)


Relevant log output

No response

Donate 💰 to fund this issue

Fund with Polar

github-actions[bot] commented 2 hours ago

Hey @panlatent! We're sorry to hear that you've hit this issue. 💛

However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?

We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.

Also, it doesn't look like you've provided much information on how to replicate the issue. Please edit your original post with clear steps we need to take.