livebook-dev / kino

Client-driven interactive widgets for Livebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with Kino.Input.number & Firefox

maxxst opened this issue · comments

The Arrows of the Number Input are not recognized (at least in Firefox).
Keyboard Arrow Up and Down Works.

ezgif-3-e7ea99b486

Update

I just checked it in Chrome and there it is working

We use phx-debounce="blur", so the change is reflected when the input is focused, changed and blurred. In other browsers hitting the up/down arrows focuses the input, so it is blurred on submit as expected. In Firefox however, hitting up/down doesn't change focus and it looks like a known bug (or at least known behaviour). So this applies to LV in general, cc @chrismccord.

Closing this a known firefox bug. :(