-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
bugSomething isn't workingSomething isn't workingideIssues related to IDEIssues related to IDEvalidValid issueValid issue
Description
Project
ide
Description
AuxiliarySidebarProps.onActiveViewChange is typed as (viewId: string | null) => void, implying callers can use null when there is no active view. Clicking the already-active mini–activity-bar item calls auxiliaryBar.toggle() but still runs props.onActiveViewChange?.(viewId) with the same viewId, so consumers never see null on that path.
Error Message
Debug Logs
System Information
OS: Ubuntu
Context: Bounty Challenge v1.1.0Screenshots
8.webm
Steps to Reproduce
Open the auxiliary sidebar and select a view so its tab is active.
Click that same view’s icon again (toggle sidebar off).
Observe the argument passed to onActiveViewChange.
Expected Behavior
Callback receives null (or otherwise signals no active view) when the active tab is toggled off / sidebar hides that selection.
Actual Behavior
Callback always receives the clicked viewId, including after the toggle-off branch.
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingideIssues related to IDEIssues related to IDEvalidValid issueValid issue