Page MenuHomePhabricator

wiki websites not taking keyboard inputs after clicking the share button in Media Viewer
Open, Needs TriagePublic

Description

So the bug is that :

  • open Wikipedia
  • open any article
  • open any image in media-viewer
  • click on share button
  • exit media-viewer

Now you can't write anything in wiki-search-bar or in any input field on the page ( It does not give any error msg in the console )

After the share button is clicked , some certain functions are binded on "keydown" and "keypress" events of all input fields. These functions are preventing the usual behavior.

I unbinded the "keydown" and "keypress" callbacks from wiki-search-bar through browser console and it started working fine again.
So i believe the problem lies in the attachment | detachment of callbacks on once we click the share button.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptWed, Nov 6, 8:11 PM
HritikMaster triaged this task as Normal priority.Wed, Nov 6, 8:19 PM
Urbanecm raised the priority of this task from Normal to Needs Triage.Wed, Nov 6, 8:26 PM
Urbanecm removed a project: Wikimedia-Site-requests.
Urbanecm added a subscriber: Urbanecm.

Hi, thanks for taking time to report this! I've removed this from the site request project, since this is not a site request (configuration changes).

Also resetting priority - that field should be set by experienced community members and developers working on this task. Thank you.

HritikMaster renamed this task from website not taking keyboard inputs after clicking the share button in Media Viewer to wiki websites not taking keyboard inputs after clicking the share button in Media Viewer.Wed, Nov 6, 8:46 PM
This comment was removed by HritikMaster.