Issue has been identified and a fix is being made. It will be rolled out with the next update of SSMS 18.
-MatteoJoel Mansford commented
This is a major productivity drain and so would really appreciate an ETA on a fix for this.
Thank you Sunil / NDM - didn't know hitting escape would save me from having to quit