@@ -4450,8 +4450,6 @@ function ChatViewContent(props: ChatViewProps) {
44504450 activeComposerTasksProgress && activePlan && activePlan . turnId === activeLatestTurn ?. turnId
44514451 ? activePlan . steps
44524452 : null ;
4453- const hasWideShoulderTab =
4454- activeComposerTasksProgress !== null && activeComposerTaskSteps !== null ;
44554453
44564454 useLayoutEffect ( ( ) => {
44574455 if ( ! composerOverlayElement ) return ;
@@ -4462,9 +4460,7 @@ function ChatViewContent(props: ChatViewProps) {
44624460 setComposerOverlayHeight ( ( currentHeight ) =>
44634461 currentHeight === nextHeight ? currentHeight : nextHeight ,
44644462 ) ;
4465- const nextClearance = hasWideShoulderTab
4466- ? nextHeight
4467- : Math . max ( 0 , nextHeight - shoulderTabReserve ( composerOverlayElement ) ) ;
4463+ const nextClearance = Math . max ( 0 , nextHeight - shoulderTabReserve ( composerOverlayElement ) ) ;
44684464 setScrollToEndClearance ( ( currentClearance ) =>
44694465 currentClearance === nextClearance ? currentClearance : nextClearance ,
44704466 ) ;
@@ -4476,7 +4472,7 @@ function ChatViewContent(props: ChatViewProps) {
44764472 const observer = new ResizeObserver ( updateHeight ) ;
44774473 observer . observe ( composerOverlayElement ) ;
44784474 return ( ) => observer . disconnect ( ) ;
4479- } , [ composerOverlayElement , hasWideShoulderTab ] ) ;
4475+ } , [ composerOverlayElement ] ) ;
44804476
44814477 const autoSettleAfterDays = useClientSettings ( ( settings ) => settings . sidebarAutoSettleAfterDays ) ;
44824478 const autoSettleOnMerge = useClientSettings ( ( settings ) => settings . sidebarAutoSettleOnMerge ) ;
0 commit comments