Files
dioxus/examples
BillionTokenandBillionClaw be7296f4f0 fix(file-explorer): prevent entering files as directories (#5383)
The file_explorer example had two issues:
1. Used heuristic (contains '.') to detect files vs directories, which is unreliable
2. Tried to enter files as directories when clicked, causing errors

Changes:
- Use path.is_file() for accurate file detection
- Use path.is_dir() check before entering a directory
- Rename shadowed 'path' variable to 'path_display'

Fixes #5368

Co-authored-by: BillionClaw <267901332+BillionClaw@users.noreply.github.com>
2026-03-18 15:19:24 +00:00
..
2025-12-29 22:41:36 -05:00
2025-12-29 22:41:36 -05:00