@ngriffin_uk@iamthatcris@ihorvorotnov@shadcn That's true, although that was historically the accepted convention and I tend to prefer that convention.
I acknowledge that lots of websites and apps go the other route.
Our own DS in work uses pointer, I don't fight it.
@ngriffin_uk@iamthatcris@ihorvorotnov@shadcn I think it's fine to have that opinion, but the spec does say:
"The cursor is a pointer that indicates a link."
Having a pointer on a button muddies the conventions of what is a button/link.
@kentcdodds Why not use useState for this? You can use the setter like a ref callback, which will cause a re-render when the input gets mounted/unmounted. At render you can check if the input is shown and call focus (or just call focus if it's non null)