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.