macOS 27: reproducible native menu hang in TextEdit using a short mouse sequence

Since upgrading to macOS 27, I have encountered native menus becoming unresponsive. It is reproducible via a short sequence of mouse actions in Apple’s TextEdit application.

The following linked zip contains a Python reproduction script and a shell launcher that prepares its dependencies:

https://drive.google.com/uc?export=download&id=1q9DtRC7zpnhK50v4VmvuRAf2sq6I9jaz

Expected: The menu continues responding to mouse movement, clicks and Escape.

Observed: The menu becomes unresponsive after the sequence.

Could anyone confirm whether the attached reproduction triggers the issue on their system? Is this a known AppKit menu-tracking issue, and are there any suggested workarounds or additional diagnostics that would help investigate it?

Thank you.

macOS 27: reproducible native menu hang in TextEdit using a short mouse sequence
 
 
Q