uptick/react-keyed-file-browser

Weird behavior when naming a folder __new__ and cancel renaming

Opened this issue · 1 comments

Hi !

  • I observed this weird behavior when naming a folder new, which seems to be used internally by the library, but works. However, after creation of the folder, when I try to rename another folder, the selection defaults back to the existing folder with name "new"
    file_browser_issue_1

  • When renaming a file/folder without actually clicking enter, (a.k.a. cancel renaming), then clicking rename again on the previous file/folder, the selection also defaults to the previous unfinished rename input, is this the intended behavior ?
    file_browser_issue_2

Any answers or help will be appreciated, thanks :)

Any solution for this?