Page MenuHomePhabricator

TagMultiselectWidget double clicking or marking or changing the cursor placement doesn't work in some cases
Closed, ResolvedPublic

Description

After quite an investigation, it seems this bug is due to onMouseDown on the $target ending with 'return false;' -- the $target is "safe" to do that when it doesn't include the input, but in cases where the input is inline, it is inside the $target and is getting the onMouseDown of the parent,which in turn completely invalidates any attempt to mark, move the cursor, or double-click to mark.

Event Timeline

Change 416615 had a related patch set uploaded (by Mooeypoo; owner: Mooeypoo):
[oojs/ui@master] TagMultiselectWidget: Only apply onMouseDown if not in input

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

Change 416615 merged by jenkins-bot:
[oojs/ui@master] TagMultiselectWidget: Only apply onMouseDown if not in input

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

Volker_E triaged this task as High priority.
Volker_E moved this task from Reviewing to OOUI-0.25.3 on the OOUI board.
Volker_E edited projects, added OOUI (OOUI-0.25.3); removed OOUI.
Volker_E removed a project: Patch-For-Review.
Volker_E removed a subscriber: gerritbot.