(Big Sur beta6)
BSb6 is giving me some wifi dropouts, so I see the "No internet connection" popup rather more than is normal, usually in little groups of three times. I hit return to dismiss it, since the 'ok' button is highlighted.
If I happen to be in the editor at the time, the enter also gets, uh, entered into the text I'm typing. I don't think it should.