Window doesn't grab keyboard input after a child windows is closed on IntelliJ IDEs (possibly other Java applications) under Wayland
This might need more testing for other Java-based software, however, when I close a child window, the parent window does not grab the keyboard input on Android Studio, PyCharm, and CLion which are all JetBrains' IDEs.
To temporarily fix the issue, I open and close the activities overview
The same issue does not happen under Xorg.
Also, I was previously running Fedora 30 (GNOME 3.32) and such an issue was not present.