Page MenuHomePhabricator

Regression: impossible to unselect a parameter when the list is scrolled
Closed, ResolvedPublic

Description

Steps to reproduce:

  • Open the template dialog with a template having lots of parameters:

image.png (587×269 px, 27 KB)

  • Scroll the parameter list down until the top item is off the screen:

image.png (362×291 px, 16 KB)

  • Click a checkbox to remove the parameter (mouse-down only).

What happens:

  • The top parameter in the list is scrolled into view. This makes it impossible to remove the parameter that was clicked.

What should have happened:

  • No scrolling.

Event Timeline

Moving into the sprint as it seems to be a high-impact bug.

Change 813243 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/VisualEditor@master] Let the SelectWidget handle onMouseDown

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

Change 813631 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/VisualEditor@master] Don't call parent on SelectWidget focus event

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

Change 813631 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Don't call parent on SelectWidget focus event

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

Change 813243 abandoned by Awight:

[mediawiki/extensions/VisualEditor@master] [WIP] Reuse more built-in mouse handling

Reason:

won't pursue this

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

thiemowmde claimed this task.