Ctrl + minus key is the solution.
The browser magnification must be 80% or below for the enter key to work again. This is applicable whenever the window is resized. In my case, the window size is half and reducing the magnification to 80% makes the enter key work again.