The nav_path_input was force-overwritten on every rerun, causing Streamlit to discard user edits before the on_change callback could process them. Now only syncs on first load or external changes (favorites). Also resets loaded_file on dir change and reverts widget on invalid paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9.0 KiB
9.0 KiB