FIX: more efficient and resilient widget-dropdown body (PR #10458)

GitHub