How to keep footer hook stuck at the bottom

footer in render hook will never stick to to the bottom and i don't know why?
No description
6 Replies
Wrax
Wrax2w ago
Show how you have registered the render hook
Wrax
Wrax2w ago
You probably just want to use FOOTER , and optionally scope it. Using PAGE_FOOTER_WIDGETS_AFTER or PAGE_FOOTER_WIDGETS_BEFORE hooks will align them how you've shown.
FilamentView::registerRenderHook(
PanelsRenderHook::FOOTER,
fn (): View => view('your-custom-footer-view'),
scopes: Dashboard::class,
);
FilamentView::registerRenderHook(
PanelsRenderHook::FOOTER,
fn (): View => view('your-custom-footer-view'),
scopes: Dashboard::class,
);
A helpful resource to visualise it: https://filamentexamples.com/tutorial/render-hooks-cheat-sheet
Filament Examples
Render Hooks - Visual Cheat Sheet With All Examples
The Filament has 84 Render Hooks in various places. That's why we prepared a simple Cheat Sheet to display where you can expect them to appear.
Mikail
MikailOP2w ago
thanks man this how i use it: FilamentView::registerRenderHook( PanelsRenderHook::FOOTER, fn(): View => view('filament.hooks.footer'), ); And i even tried the easy footer plugin. The same issue
Wrax
Wrax2w ago
You shouldn't need a plugin for this. I think maybe some styles are conflicting. Open inspector in the browser and check what's going on with the style classes on these elements. Something must be overriding h-full on <main>. You might have a rouge style interfering via .fi-main or similar. Inspector will reveal all 😄
Mikail
MikailOP2w ago
No description
Mikail
MikailOP2w ago
i do appreciate your time. I inspect the element and i see no conflict. i even try it on another Filament installation and it's still same. At this point i am confused

Did you find this page helpful?