RCFilters UI: Prevent the popup from disappearing when input is out of view
authorMoriel Schottlender <moriel@gmail.com>
Fri, 3 Mar 2017 23:27:41 +0000 (15:27 -0800)
committerCatrope <roan@wikimedia.org>
Fri, 3 Mar 2017 23:30:29 +0000 (23:30 +0000)
Depends on OOjs-UI patch (and subsequent release)

Bug: T158118
Change-Id: I5248dcde7fef47a78b60630e944a9392bec99f64
Depends-On: I92b794d5556302099df72af36620299536bf6fe4

resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterWrapperWidget.js

index 7da97a1..e3269f8 100644 (file)
@@ -56,7 +56,8 @@
                                $content: this.filterPopup.$element,
                                $footer: $footer,
                                classes: [ 'mw-rcfilters-ui-filterWrapperWidget-popup' ],
-                               width: 650
+                               width: 650,
+                               hideWhenOutOfView: false
                        }
                } );