FIX: Do not rerender widget-dropdown on all clicks (PR #10100)

Because of how the dropdown was structured, as long it was in the DOM, all clicks outside the widget would rerender it.

This commit introduces widget-dropdown-body that handles the clickOutside callback and is rendered conditionally, so it won’t get called when the dropdown is closed.

GitHub