Skip to content

v4: Footer Actions visibility issue in Create Action SlideOver Modal #17190

@anasgets111

Description

@anasgets111

Package

filament/filament

Package Version

v4.0.0-beta21

Laravel Version

12.21.0

Livewire Version

3.6.4

PHP Version

8.4-8.3

Problem description

when creating a slide over modal from an action, the create/create new/cancel buttons are either

  • not showing (when cerateAnother is set to false)
  • or cancel button isn't showing (when createAnother is set to false)

I believe it's a something to do with 100% screen of the modal being shifted below the top bar

Image

Expected behavior

buttons should show correctly at the button with proper padding

Steps to reproduce

create an action for ex. create Customer

 return CreateAction::make('createCustomer')
            ->label('Create Customer')
            ->slideOver()
            ->tooltip('Resource to store data')
            // with create Another set to true, it will show create and create another buttons but not cancel button
            // while with it set to false, it will not show any buttons
            ->createAnother(false)

with the it's php and blade files, and add it using a renderhook

->renderHook(PanelsRenderHook::SIDEBAR_NAV_START, function () {
                return Blade::render('@livewire(\'customer-create\')');
            });

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

https://github.com/anasgets111/testCreateAction

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions