diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index ef66624513c..b679613ca17 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -5769,6 +5769,7 @@ int Tree::get_columns() const { void Tree::_scroll_moved(float) { _determine_hovered_item(); queue_redraw(); + popup_editor->hide(); } Rect2 Tree::get_custom_popup_rect() const {