You're creating a new container every time the Input is rendered, but you only append it to the DOM when useEffect is run. You either need to save a ref to it ...
確定! 回上一頁