diff --git a/static/app/views/issueList/groupSearchViewTabs/draggableTabBar.tsx b/static/app/views/issueList/groupSearchViewTabs/draggableTabBar.tsx index 1954c6f8cc8670..6337d25ab819ce 100644 --- a/static/app/views/issueList/groupSearchViewTabs/draggableTabBar.tsx +++ b/static/app/views/issueList/groupSearchViewTabs/draggableTabBar.tsx @@ -3,6 +3,7 @@ import 'intersection-observer'; // polyfill import {useCallback, useContext, useEffect, useState} from 'react'; import styled from '@emotion/styled'; import type {Node} from '@react-types/shared'; +import {motion} from 'framer-motion'; import { DraggableTabList, @@ -387,24 +388,34 @@ export function DraggableTabBar({ disabled={tab.key === editingTabKey} > - setEditingTabKey(isEditing ? tab.key : null)} - onChange={newLabel => handleOnTabRenamed(newLabel.trim(), tab.key)} - tabKey={tab.key} - /> + + setEditingTabKey(isEditing ? tab.key : null)} + onChange={newLabel => handleOnTabRenamed(newLabel.trim(), tab.key)} + tabKey={tab.key} + /> + {/* If tablistState isn't initialized, we want to load the elipsis menu for the initial tab, that way it won't load in a second later and cause the tabs to shift and animate on load. */} {((tabListState && tabListState?.selectedKey === tab.key) || (!tabListState && tab.key === initialTabKey)) && ( - + + + )}