Skip to content

SpatieMediaLibraryFileUpload panelLayout Grid #15394

Open
@danielreales7

Description

@danielreales7

Package

filament/filament

Package Version

v3.2.133

Laravel Version

v11.38.2

Livewire Version

No response

PHP Version

8.2

Problem description

When I use ->panelLayout('grid') sometimes the styles load wrong

SpatieMediaLibraryFileUpload::make('images_upload')
                                    ->collection('property_images')
                                    ->multiple()
                                    ->responsiveImages()
                                    ->image()
                                    ->imageEditor()
                                    ->label('Imágenes')
                                    ->imagePreviewHeight('250')
//                                    ->panelLayout('grid')
                                    ->columnSpanFull()

Image

Image

Image

Expected behavior

Image

Steps to reproduce

SpatieMediaLibraryFileUpload::make('images_upload')
                                    ->collection('property_images')
                                    ->multiple()
                                    ->responsiveImages()
                                    ->image()
                                    ->imageEditor()
                                    ->label('Imágenes')
                                    ->imagePreviewHeight('250')
                                    ->panelLayout('grid')
                                    ->columnSpanFull()

I have discovered that if the gallery appears at the moment it loads fine, but when using tabs as I show in the project is when it happens constantly

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

https://github.com/danielreales7/test-spatie-lmedia

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