Closed notAreYouScared closed 3 months ago
When the page is first loaded and the state is formatted, the editor appears to be "small", and the right scroll bar extends past the viewable window.
When "saving" the file, or doing an action on the page that updates the form, it then renders its full size.
MonacoEditor::make('editor') ->label('') ->formatStateUsing(function () { /** @var Server $server */ $server = Filament::getTenant(); return app(DaemonFileRepository::class) ->setServer($server) ->getContent($this->path, config('panel.files.max_edit_size')); }) ->language(fn (Get $get) => $get('lang') ?? 'plaintext'),
I guess if you just formatstatusing something that's, big? it should not render the full size.
0.2.5
8.2
11.10.0
Windows
Would it be possible to get a variable to limit how many rows render on the page?
.fme-element{height:100%;max-height:90vh;min-height:80vh;width:100%;font-size:1.125rem;line-height:1.75rem}
Removing min-height:80vh fixed this issue. Also updated to 0.49.0 and all seems to work well.
min-height:80vh
What happened?
When the page is first loaded and the state is formatted, the editor appears to be "small", and the right scroll bar extends past the viewable window.
When "saving" the file, or doing an action on the page that updates the form, it then renders its full size.
How to reproduce the bug
I guess if you just formatstatusing something that's, big? it should not render the full size.
Package Version
0.2.5
PHP Version
8.2
Laravel Version
11.10.0
Which operating systems does with happen with?
Windows
Notes
Would it be possible to get a variable to limit how many rows render on the page?