Google Chrome file picker not working

Arch Linux Hyprland version 0.53.3
File upload in google chrome not working. When I try to upload a file, the file picker appears but the file is not uploaded.
I see this message in journalctl:
Jan 28 12:48:20 alrog xdg-desktop-portal-gtk[1744]: Unhandled parent window type
Jan 28 12:48:20 alrog xdg-desktop-portal-gtk[1744]: Failed to associate portal window with parent window

This happens when Google Chrome is the only app open on the workspace. When I open another app in the same workspace next to Google Chrome the file picker works and I can upload files.
This is the config
cat ~/.config/xdg-desktop-portal/hyprland-portals.conf
[preferred]
default=hyprland;gtk
org.freedesktop.impl.portal.FileChooser=gtk