reagent-project / reagent

A minimalistic ClojureScript interface to React.js
http://reagent-project.github.io/
MIT License
4.74k stars 412 forks source link

The cursor disappears at the end of a controlled input on Chrome #595

Open schadocalex opened 9 months ago

schadocalex commented 9 months ago

On Chrome (107 and 117, Linux and Mac at least), the cursor disappears when typing into a input (text/number). It works on FF, does not on Safari.

What I see: image Expected: image

How to reproduce: Go on https://reagent-project.github.io/ in the share state example. If you type different characters until the input is full, you won't see the last one nor the cursor. But you can go left/right with the keyboard and then you see it.

Looks like it works with official React examples, so maybe Reagent triggers a Chrome bug.