Phx-click-away fires not only on clicks (?!)

There’s the typical modal form open. Like the vanilla one from mix phx.gen.live …. Clicking outside of the form container “clicks everything away”. This is expected. But… one can also click inside the container then inadvertently drag the pointer away of its boundaries and “boom” - the whole meticulously completed form just annihilated itself. Any suggestions how to deal with this problem?

FWIW, that sounds like exactly the behavior discussed in this PR and the linked issue:

Yes, looking at the PR and the issue this is exactly the problem. And quite an annoying one too.