Page MenuHomePhabricator

Namespace drop-down filter menu does not scrolls automatically when selected Namespace (Tag) filter capsule is clicked
Closed, ResolvedPublic

Description

  1. On RC page, click on 'Namespace' button and select several Namespaces that are placed at the beginning, middle, and at the end of the list.
  1. Click on selected filter capsule - the drop-down menu will open and automatically scroll down to the selected namespace.

E.g. - 'Education Program talk' capsule is clicked, the drop-down menu scrolls down to display 'Education Program talk' as selected.

Screen Shot 2017-06-19 at 9.42.19 AM.png (574×895 px, 90 KB)

  1. Without doing anything else, click on 'Gadget definition talk' capsule. The capsule becomes highlighted, but the drop-down filter menu will scroll up, not to the place where 'Gadget definition talk' namespace is placed.

Clicking on the next selected namespace capsule, 'Newsletter talk', will still display the top of the drop-down menu

Screen Shot 2017-06-19 at 9.42.28 AM.png (600×910 px, 95 KB)

Note: It's not the case with normal filters - clicking on the selected filter capsule will always scroll down to the respective place of that filter in the drop-down menu.

Screen Shot 2017-06-19 at 9.42.40 AM.png (625×914 px, 95 KB)

Event Timeline

Etonkovidova renamed this task from Namespace filters: Namespace drop-down filter menu does not scrolls down automatically when selected Namespace filter capsule is clicked to Namespace filters: Namespace drop-down filter menu does not scrolls automatically when selected Namespace filter capsule is clicked .Jun 19 2017, 10:04 AM
Etonkovidova renamed this task from Namespace filters: Namespace drop-down filter menu does not scrolls automatically when selected Namespace filter capsule is clicked to Namespace drop-down filter menu does not scrolls automatically when selected Namespace filter capsule is clicked .Jun 19 2017, 4:58 PM
Etonkovidova renamed this task from Namespace drop-down filter menu does not scrolls automatically when selected Namespace filter capsule is clicked to Namespace drop-down filter menu does not scrolls automatically when selected Namespace (Tag) filter capsule is clicked .Jun 20 2017, 12:05 PM

Change 360706 had a related patch set uploaded (by Mooeypoo; owner: Mooeypoo):
[mediawiki/core@master] RCFilters: Remove view triggers before checking emptiness of string

https://gerrit.wikimedia.org/r/360706

Change 360706 merged by jenkins-bot:
[mediawiki/core@master] RCFilters: Remove view triggers before checking emptiness of string

https://gerrit.wikimedia.org/r/360706

Checked in betlabs - the scrolling action behaves as expected.