Skip to content

Documentation request: current folder files entry #209

@david-morris

Description

@david-morris

The onFolderChange callback is called with an empty path when the component first loads, so it can't be used to request fetching a new list of files.

Am I missing what it's supposed to be used for? I wouldn't want a flash if I was using it for synchronizing UI somewhere else, either.

Ultimately, I'm left with no way to handle the current path.

Edit: I noticed in the source that you're supposed to have the current directory listed. Additionally, it needs its real name and not "." I'll adjust my code accordingly, but that should probably be noted in the docs.
I also experimentally determined that it expects paths to start with a folder name, not "/". Again, it would save time if this was documented.

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationinvalidThis doesn't seem rightreleased

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions