Instead of using an auto-import pop-up, you can do it while typing your code instantly.
Open the settings and type auto-import in the search bar at the top-left.
Click the "Optimize imports on the fly" option.
Hope it helps