When dragging away an active tab, select a new active tab right away. This ensures things like active_tiles works right away, and don't need waiting for the next call to .ui().
Still, if there is no active tab on ui, call behavior.on_edit to inform the user that there has been a new selection.
When dragging away an active tab, select a new active tab right away. This ensures things like
active_tiles
works right away, and don't need waiting for the next call to.ui()
.Still, if there is no active tab on
ui
, callbehavior.on_edit
to inform the user that there has been a new selection.