mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
5a451e0dd8
Removing the selected item causes StackLayout to select (and scroll to) its first item. To prevent this, we preemptively unselect. Note that even when an unselected item is removed, StackLayout still clears the selection, so this patch doesn't lose any useful behaviors. Fix should be pushed down into OOUI, unless there's a use case where we want to select the first item? Bug: T293635 Change-Id: I0c1fddfa32b76621a9f1328c8173f0158386aee8 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-mw-collab |