How to make EditRecord header actions sticky (css)!?

<?php

namespace App\Filament\Resources\FormResource\Pages;

use App\Filament\Resources\FormResource;
use App\Models\Form;
use Filament\Actions;
use Filament\Resources\Pages\EditRecord;
use Filament\Support\Colors\Color;

class EditForm extends EditRecord
{
protected static string $resource = FormResource::class;

protected function getHeaderActions(): array
{
return [
$this->getCancelFormAction()->icon('heroicon-o-backspace'),
Actions\DeleteAction::make()->icon('heroicon-m-trash'),
];
}
}
<?php

namespace App\Filament\Resources\FormResource\Pages;

use App\Filament\Resources\FormResource;
use App\Models\Form;
use Filament\Actions;
use Filament\Resources\Pages\EditRecord;
use Filament\Support\Colors\Color;

class EditForm extends EditRecord
{
protected static string $resource = FormResource::class;

protected function getHeaderActions(): array
{
return [
$this->getCancelFormAction()->icon('heroicon-o-backspace'),
Actions\DeleteAction::make()->icon('heroicon-m-trash'),
];
}
}
so yeah basically i want the header actions to be sticky but im not finding how to do it. is possible using filament, or not?
2 Replies
awcodes
awcodes14mo ago
Filament
Sticky Header by Adam Weston - Filament
A Filament Panels plugin to make headers sticky when scrolling.
ericmp #2
ericmp #2OP14mo ago
no fakin wayyyy 😄 thanks just tried it out, its awesomeeee so ez to setup thanks again

Did you find this page helpful?