fix: Revert drop down and widget div PRs by BenHenning · Pull Request #9222 · RaspberryPiFoundation/blockly

The basics

The details

Resolves

Fixes part of #9221 (or, rather, puts things back into a less broken state)

Proposed Changes

This reverts #9213 and #9216.

Reason for Changes

The "fixed" world is more broken than before, or at least the breakages from before are better understood.

Fundamentally, there are several classes of edge cases for ephemeral focus with widget and drop-down divs that may not have single solutions. A more carefully thought out solution is required at this point, and there isn't sufficient time to safely land such a change ahead of the 12.2 release. It's preferable to revert the attempts at fixing these classes of issues since the previous breakages were harder to hit than the new ones.

#9221 is tracking longer term fixes.

Test Coverage

N/A -- This is a revert.

Documentation

N/A -- This is a revert.

Additional Information

This PR was produced with two git revert commands and has no other changes.

RaspberryPiFoundation/blockly-keyboard-experimentation#563 will need to be reopened after this PR merges since the problems that issue tracked will be reintroduced.