uptick / react-keyed-file-browser

Folder based file browser given a flat keyed list of objects, powered by React.
MIT License
301 stars 144 forks source link

When spamming around with create folder(and not actually creating it) __new__ named folder is sometimes visible #108

Closed ziaulrehman40 closed 4 years ago

ziaulrehman40 commented 4 years ago

image

Sometimes when playing around with add folder, this kind of behavior happens. Trying to pin point when and how it happens, but for now at-least a report of it happens should be made.

We can add reproduction steps and fix it later on.

version: 1.8.0

ziaulrehman40 commented 4 years ago

Peek 2020-05-14 13-36

Here is the reproduction, try to create a folder in a sub folder, don't create it, click outside and click create folder on root, and there you have it.

ziaulrehman40 commented 4 years ago

This issue is actually happening a lot, specially for case when there is no other file and a folder is being created on root

ziaulrehman40 commented 4 years ago

@scaredcat Would you please review PR for this bug fix. Thanks.