fix: context menus on flyout by maribethb · Pull Request #9116 · RaspberryPiFoundation/blockly

The basics

The details

Resolves

Fixes #9111

Proposed Changes

Don't close the flyout if the flyout is losing focus due to ephemeral focus

Reason for Changes

Context menus are ephemeral focus

Test Coverage

This passes all existing tests and manual inspection. I'll probably add one for it in kbe, but I'll have someone else manually play with this too to make sure I haven't broken a different case I'm not testing for.

Documentation

Additional Information