The fix in issue #2 resolved a stale-closure bug in createPathSegment where onClick captured graphsPath at render time; after further navigation findIndex returned -1 and splice(0) wiped the entire breadcrumb array. New test suite 'Stale-closure regression (issue #2)' covers: - Root breadcrumb remains functional after navigating three levels deep - Level-1 breadcrumb resolves correctly when clicked from level 3 - Successive back-clicks each trim exactly one breadcrumb level - Clicking the currently active breadcrumb does not alter the path Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8.1 KiB
8.1 KiB