Skip to content

Commit

Permalink
Add layout animations back to tab dividers
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSun48 committed Oct 17, 2024
1 parent 889c589 commit 869a34c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion static/app/components/draggableTabs/draggableTabList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,11 @@ function Tabs({
variant={tabVariant}
/>
</TabItemWrap>
<TabDivider isVisible={isTabDividerVisible(item.key)} initial={false} />
<TabDivider
layout="position"
isVisible={isTabDividerVisible(item.key)}
initial={false}
/>
</Fragment>
))}
</ReorderGroup>
Expand Down Expand Up @@ -353,6 +357,7 @@ function BaseDraggableTabList({
</AddViewButton>
</AddViewMotionWrapper>
<TabDivider
layout="position"
isVisible={
defined(tempTab) &&
state?.selectedKey !== TEMPORARY_TAB_KEY &&
Expand Down

0 comments on commit 869a34c

Please sign in to comment.