Skip to content

Commit 5e059cd

Browse files
committed
Fixed DropdownControl
1 parent 072bba0 commit 5e059cd

File tree

1 file changed

+9
-12
lines changed
  • src/pages/prototypes/NewNavigation

1 file changed

+9
-12
lines changed

src/pages/prototypes/NewNavigation/index.js

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -236,22 +236,19 @@ function NewNavigation() {
236236
<div
237237
style={{ position: "relative", minHeight: "100%" }}
238238
>
239+
{isFirstTab && (
240+
<div className={styles.navigationWrapper}>
241+
<NavigationPanel
242+
avatarUrl={avatarUrl}
243+
activeSegment={activeSegment}
244+
onSegmentChange={handleSegmentChange}
245+
/>
246+
</div>
247+
)}
239248
{currentView}
240249
</div>
241250
</m.div>
242251
</AnimatePresence>
243-
244-
{isFirstTab && (
245-
<div className={styles.navigationWrapper}>
246-
<div style={{ pointerEvents: "auto" }}>
247-
<NavigationPanel
248-
avatarUrl={avatarUrl}
249-
activeSegment={activeSegment}
250-
onSegmentChange={handleSegmentChange}
251-
/>
252-
</div>
253-
</div>
254-
)}
255252
</div>
256253

257254
<div className={styles.tabBarWrapper}>

0 commit comments

Comments
 (0)