Is there a way to close a combobox Anchor menu through code?

I’m trying to hide the anchor menu for the ComboBox because it stays visible even during times when it should be hidden. Here is a breakdown of my problem:

  1. Click ComboBox

  2. Click some other button on the widget which makes a new window appear.

  3. The anchor menu stays open even though it should close. (image below)

There seems to be no way of hiding the anchor menu for ComboBoxes through code without 1) ripping apart the engine or 2) designing a new ComboBox Object completely from scratch in slate. The option for setting IsOpen() on the SMenuAnchor is not accessible.

I have tried to search for a solution but nothing comes up. Have anyone else had this problem?

Hey there. I couldn’t replicate your issue (when I click another button in my UI while a comboBox is open, it simply closes the comboBox), but I found a potential workaround. Use the SetFocus function on a different widget (potentially the new window that opens), so that the focus is explicitly moved away from the ComboBox.
In my test when I added some logic to set the focus to the parent widget of the ComboBox while it was open, it closed.