© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3w ago•
4 replies
Matthew

Embedded PDF controls missing on collapsed section

3️⃣v3
Hi,

I've got a form that requires PDF's to be embedded for view, for which I use something like:

Placeholder::make('preview' . $id)
            ->label('')
            ->content(

                function () use ($preSignedUrl) : HtmlString {

                    return new HtmlString(
                        '<iframe src="' . $preSignedUrl . '" width="100%" height="500vh"></iframe>'
                    );

                }
            );
Placeholder::make('preview' . $id)
            ->label('')
            ->content(

                function () use ($preSignedUrl) : HtmlString {

                    return new HtmlString(
                        '<iframe src="' . $preSignedUrl . '" width="100%" height="500vh"></iframe>'
                    );

                }
            );


Which works fine.

But, when I put the inside a collapsed section, on Edge the PDF controls (zoom) etc, do not appear. Works on Chrome fine.

If it is not in a collapsed section, or soemthing hidden to start with (like a tab etc), then it is ok. Otherwise the controls do not appear.

On Chrome it is fine whatever. But Edge has this issue.

Before I engineer a sledgehammer to crack this nut...is there a better way to do this (embed PDF in a form), or any fancy trick I can use to solve this?

Thanks

(still on v3 for a while)
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Default collapsed section does not work
FilamentFFilament / ❓┊help
3y ago
Section & manual collapsed via custom headerActions ... Is this a bug?
FilamentFFilament / ❓┊help
5mo ago
Tenant menu item on collapsed sidebar
FilamentFFilament / ❓┊help
4mo ago
RenderHook view hidden on collapsed menu
FilamentFFilament / ❓┊help
3y ago