Page MenuHomePhabricator

Search suggestions override right/middle-clicking behaviour
Closed, ResolvedPublic

Description

On the www.wikipedia.org portal, the search suggestions (a.suggestion-link elements) do not behave like regular links when right-clicked or middle-clicked. Instead, the regular behaviour is overridden and the links behave as though they were left-clicked.

Event Timeline

Change 670794 had a related patch set uploaded (by Ishan Saini; owner: Ishan Saini):
[wikimedia/portals@master] Fix search suggestions override right/middle-clicking behaviour

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

I have added a patch which fixes this behaviour. It adds a click event when a search suggestion loses focus or when the blur event is triggered. Earlier, the link was followed because there was no click event which would allow only left clicks to open the link.

Change 670794 abandoned by Ishan Saini:
[wikimedia/portals@master] Fix search suggestions override right/middle-clicking behaviour

Reason:
This issue has been resolved in another similar task

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

Pcoombe subscribed.

Confirmed this was fixed along with T219917