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

Wizard Step after step 2 gets overflow-hidden class on expanded collapsible container #12623

Open
matthewnessworthy opened this issue May 4, 2024 · 0 comments
Labels
bug Something isn't working low priority unconfirmed
Milestone

Comments

@matthewnessworthy
Copy link

Package

filament/filament

Package Version

v3.2.72

Laravel Version

v3.2.72

Livewire Version

v3.4.11

PHP Version

PHP 8.2.18

Problem description

When going past step 2 (i.e., step 3+) on a Wizard that is collapsible, the container gets the collapsed classes (fi-collapsed overflow-hidden) even though the container is open and no collapse action was triggered by the user

The issue with this is any container JS dropdowns get hidden/cut by the container.

Here's a quick look at the classes that get added from step 3+
https://github.com/filamentphp/filament/assets/5653887/fc5e28cb-4a82-455a-8fc9-74552d563e49

Expected behavior

The container should not have overflow-hidden while it is open.

Steps to reproduce

Setup the project

composer install
npm install
npm run build

Start the webserver

php artisan serve

Go to the Page resource page http://127.0.0.1:8000/admin/pages/create

Click Add to content blocks

Select the radio button Widgets and click Next
Select the radio button Select + Checkboxes + Text and click Next

Inspect the wizard step <li> classes

it will have something like this:

fi-fo-builder-item rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-white/5 dark:ring-white/10 fi-collapsed overflow-hidden

but it should be like this

fi-fo-builder-item rounded-xl bg-white shadow-sm ring-1 ring-gray-950/5 dark:bg-white/5 dark:ring-white/10

Reproduction repository

https://github.com/matthewnessworthy/filamentphp-wizard-bug

Relevant log output

No response

@danharrin danharrin added this to the v3 milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority unconfirmed
Projects
Status: Todo
Development

No branches or pull requests

2 participants