Merge "RCFilters UI: Use backwards-aligned anchorless popups now that they work"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 2 Jun 2017 00:47:34 +0000 (00:47 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 2 Jun 2017 00:47:34 +0000 (00:47 +0000)
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterItemHighlightButton.js
resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.SavedLinksListWidget.js

index 616608e..835cec8 100644 (file)
                        icon: 'highlight',
                        indicator: 'down',
                        popup: {
-                               // TODO: There is a bug in non-anchored popups in
-                               // OOUI, so we set this popup to "anchored" until
-                               // the bug is fixed.
-                               // See: https://phabricator.wikimedia.org/T159906
-                               anchor: true,
+                               anchor: false,
                                padded: true,
                                align: 'backwards',
                                horizontalPosition: 'end',
index 8c021d0..3b5e7d9 100644 (file)
@@ -51,7 +51,7 @@
                        popup: {
                                width: 300,
                                anchor: false,
-                               align: 'forwards',
+                               align: 'backwards',
                                $autoCloseIgnore: this.$overlay,
                                $content: this.menu.$element
                        }