{ // once it is shown: it can be in a folder that is opening const frame = requestAnimationFrame(() => { input.focus(); input.select(); }); return () => cancelAnimationFrame(frame); }} {onkeydown} onkeyup={(event) => event.stopPropagation()} onclick={(event) => event.stopPropagation()} onblur={(event) => oncommit(event.currentTarget.value, false)} />