Closed bdougie closed 2 years ago
.take
Thanks for taking this on! If you have not already, join the conversation in our Discord
@bdougie I think using useOutsideClickRef from 'rooks' could be a better solution. Let me know what you think :)
@bdougie I think using useOutsideClickRef from 'rooks' could be a better solution. Let me know what you think :)
I second this! π―
:tada: This issue has been resolved in version 2.24.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Type of feature
π§βπ» Refactor
Current behavior
Noticed in #310 that we are using a query selector in the RepoSubmission. We shouldn't do that.
https://github.com/open-sauced/hot/blob/beta/src/components/RepoSubmission.tsx#L64
Suggested solution
Instead useRef works better and provides an elegant React solution.
ref.current.focus
Additional context
No response
Code of Conduct
Contributing Docs