Skip to content

Commit 9199b00

Browse files
committed
ui-manchette: fix manchette toolbar not fixed bottom
The PR #728 changed the height of the manchette from a min height to a fixed one. It introduced a bug where, when having a long list of waypoint, when scrolling bottom, the manchette toolbar wasn't stick to the bottom anymore. Fix this issue by giving back a min height to the manchette while still keeping its dynamic value introduced in PR #728. Signed-off-by: SharglutDev <[email protected]>
1 parent 896d65a commit 9199b00

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ui-manchette/src/components/Manchette.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ const Manchette = ({
2626
resetZoom,
2727
yZoom = 1,
2828
waypoints,
29-
activeWaypointId,
3029
isProportional = true,
3130
toggleMode,
3231
children,
3332
height = INITIAL_OP_LIST_HEIGHT,
3433
}: ManchetteProps) => (
3534
<div className="manchette-container">
36-
<div className="bg-white-100 border-r border-grey-30" style={{ height: `${height}px` }}>
37-
<WaypointList waypoints={waypoints} activeWaypointId={activeWaypointId} />
35+
<div className="bg-white-100 border-r border-grey-30" style={{ minHeight: `${height}px` }}>
36+
<WaypointList waypoints={waypoints} />
3837
{children}
3938
</div>
4039
<div className="manchette-actions">

0 commit comments

Comments
 (0)