mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
Adam Wight 5a451e0dd8 Workaround to prevent removing the selected item
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
2021-10-20 00:07:18 +02:00
..
ve.ui.MWCommandHelpDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWExtensionDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWExtensionPreviewDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWGalleryDialog.js Fix hiding of 'add image' button in gallery dialog 2021-10-04 13:53:25 +01:00
ve.ui.MWMediaDialog.js ve.ui.MWMediaDialog: mediaUploadBooklet may be undefined 2021-06-21 16:46:57 +02:00
ve.ui.MWMetaDialog.js build: Update eslint-config-wikimedia to 0.17.0 2020-08-18 13:16:49 +01:00
ve.ui.MWMobileSaveDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWPreDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWRequiredParamBlankConfirmDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWSaveDialog.js Toggle the watchlist-expiry dropdown's disabled state 2021-09-20 10:23:52 +00:00
ve.ui.MWTableDialog.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWTemplateDialog.js Workaround to prevent removing the selected item 2021-10-20 00:07:18 +02:00
ve.ui.MWTransclusionDialog.js Merge "Don't close the old sidebar when the add parameter button is pressed" 2021-10-18 14:02:21 +00:00