I have no idea how to reproduce this, but it happens so frequently that you can just use scadnano for a while to see it. At some point it stops showing the context menu (e.g., for strands):
and starts showing the regular browser context menu (even though I'm not holding down Shift to intentionally bypass the scadnano context menu):
