decent-chat / decent

Open source messaging platform for the modern web
https://meta.decent.chat
GNU General Public License v3.0
21 stars 5 forks source link

"Send" icons animate when tab-focused (should only be once activated) #309

Open towerofnix opened 6 years ago

towerofnix commented 6 years ago

Try using the tab key to select this:

The "send" button

Assigning @heyitsmeuralex since you probably implemented this. I imagine you're using CSS :focus to animate this, but that obviously has the drawback of this bug. My suggested behavior: Animate once the button is activated (JS pressed event), and de-animate (i.e. return to original appearance, with the paper plane visible) once the button loses focus.