Can you create a demo HTML file with a simple file chooser input and some simple JS that reproduces the issue?

Also, does the issue happen in other Chromium-based browsers like Vivaldi, Brave, Chrome and Edge too?