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?
6 Replies
Show how you have registered the render hook
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.
A helpful resource to visualise it: https://filamentexamples.com/tutorial/render-hooks-cheat-sheetFilament 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.
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 issueYou 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 😄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