You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cannot reproduce, see video. I will still submit a PR that force focus.
Edit: there is already a code doing exactly this in TopBar.tsx. Not sure how I can help you with this ticket. I assign it to you.
(May be it deserves a timeout?)
useEffect(() => {
if (isRenaming) {
const target = document.getElementById(
'TopBar__tab-renaming'
) as HTMLInputElement;
target?.select();
}
}, [isRenaming]);
danielfebrero
changed the title
No focus when renaming a collection with rick click.
No focus when renaming a collection with right click.
Aug 17, 2022
Make sure that a the name is in focus when renaming so you can start typing without having to click the name after pressing rename.
The text was updated successfully, but these errors were encountered: