© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•5mo ago•
6 replies
jamesro

Filament v4 action modal, inside action modal

Hello,

I'm having an issue displaying an action modal inside an action modal, for some reason the child modal seems to be getting height from parent modal

so on my relation manager i have a custom column set like:

 TextColumn::make('name_edit')
                    ->visibleFrom('md')
                    ->badge()
                    ->color('success')
                    ->html()
                    ->getStateUsing(fn($record) => view('filament.partials.tests-badge', [
                        'count' => $record?->tests->count(),
                    ])->render())
                    ->icon(fn(bool $state): string => 'heroicon-m-eye')
                    ->label('Teste probă')
                    ->action(
                        Action::make('viewSampleTests')
                            ->label('Tests')
                            ->modalSubmitAction(false)
                            ->modalWidth(Width::SevenExtraLarge)
                            ->modalContent(
                                fn($record) => view('livewire.sample-tests', [
                                    'record' => $record
                                ])
                            ),
                    ),
 TextColumn::make('name_edit')
                    ->visibleFrom('md')
                    ->badge()
                    ->color('success')
                    ->html()
                    ->getStateUsing(fn($record) => view('filament.partials.tests-badge', [
                        'count' => $record?->tests->count(),
                    ])->render())
                    ->icon(fn(bool $state): string => 'heroicon-m-eye')
                    ->label('Teste probă')
                    ->action(
                        Action::make('viewSampleTests')
                            ->label('Tests')
                            ->modalSubmitAction(false)
                            ->modalWidth(Width::SevenExtraLarge)
                            ->modalContent(
                                fn($record) => view('livewire.sample-tests', [
                                    'record' => $record
                                ])
                            ),
                    ),


inside that modal i'm displaying the tests() relation table for sample, and if i try to click Edit on that table, the opened modal doesn't close parent modal and it's inheriting the height of parent modal

Is this a known bug in v4?
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Open action modals inside a modal
FilamentFFilament / ❓┊help
3y ago
Issue with Filament Action Modal inside Livewire WireModal
FilamentFFilament / ❓┊help
8mo ago
fileUpload inside Action Modal
FilamentFFilament / ❓┊help
3y ago
Delete action inside modal - alignment
FilamentFFilament / ❓┊help
4mo ago