Next.js Discord

Discord Forum

Restore selected files in file picker when using browser back button

Unanswered
Chinese Alligator posted this in #help-forum
Open in Discord
Avatar
Chinese AlligatorOP
If the user selects some files in the file picker, and navigates to a different page, and then uses the browser back button to get back to the page; I want the previously selected files to still be there.

Is this possible in NextJS? I see this behavior in most sites that use PHP for example. I assume its a native browser feature, as it works in desktop Chrome, Firefox, mobile Chrome, however not on mobile Firefox.

0 Replies