jesus2099 / konami-command

power‐ups for various web sites
117 stars 25 forks source link

Remove “current input refocus after click” feature #739

Closed jesus2099 closed 8 months ago

jesus2099 commented 1 year ago

This is seriously bogging me on mobile, scrolling back all the time.

See if removal of this feature will also be good for desktop.

jesus2099 commented 1 year ago

Oh it does not seem to be POWER VOTE related.

Could be:

https://github.com/jesus2099/konami-command/blob/22471b734cfd150bb4f0fdaadc9e3b8fce5620f4/mb_ELEPHANT-EDITOR.user.js#L134-L146

or:

https://github.com/jesus2099/konami-command/blob/d76110b08c9d165af53f477d0e4e91e6a9af7e68/mb_AUTO-FOCUS-KEYBOARD-SELECT.user.js#L213-L221

jesus2099 commented 8 months ago

No it was really in POWER-VOTE. It was because of an old pd(labinput, "mousedown"); bad fix to prevent text selection when double-click (to vote).

I have now replaced the JavaScript event blocker by a simple CSS rule.