uetchy / Polyglot

🌏 The missing Safari extension that translates selected text into your native language.
Other
482 stars 44 forks source link

[BUG] Instant translation unexpectedly appearing when selecting text in text fields #28

Closed gingerbeardman closed 6 years ago

gingerbeardman commented 6 years ago

I'm seeing auto-translate appearing when text field are focused on GitHub @isswp101

For example as I am typing this if I double-click a word auto-translate will unexpectedly appear.

2018-08-05 22_26_46

uetchy commented 6 years ago

This could be suppressed by putting HTML elements constraint on the click handler. What do you think? @isswp101

devemio commented 6 years ago

@uetchy do you mean the text received from input, textarea and so on should not be translated by click?