F
Filament2mo ago
pjb

PreviousUrl Overwritten when Using Multiple Tabs

What I am trying to do: Prevent refreshed browser tabs from inheriting other browser tabs' "previous URL" Our application overrides Filament\Resources\Pages\EditRecord::getRedirectUrl() to redirect to $this->previousUrl after saving, just like in the example in the docs: Customizing redirects.
We've discovered that if a user has multiple tabs open, one of which is on an Edit page, and they navigate around in another tab and then refresh the Edit page tab, the Edit page tab's "previous URL" gets replaced by the other tab's navigation. Does anybody know how to work around this so that each tab keeps it's own "previous URL" regardless of what's happening in other tabs? Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?