Skip to content

Commit a2f4c7f

Browse files
id0Schclaude
andauthored
fix(mobile): working pill no longer bulges on its right end (pingdotgg#16143)
Signed-off-by: id0sch <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 08f9b56 commit a2f4c7f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎apps/mobile/src/features/threads/floating-working-control.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ const CONTROL_TIMING = {
4646
easing: Easing.out(Easing.cubic),
4747
reduceMotion: ReduceMotion.System,
4848
} as const;
49-
const CONTROL_SEPARATION = (16 + CONTROL_HEIGHT) / 2;
49+
const CONTROL_ROW_GAP = 14;
50+
const CONTROL_SEPARATION = (CONTROL_ROW_GAP + CONTROL_HEIGHT) / 2;
5051
// Both rows share the same centered anchor, so the outgoing one clears fast and
5152
// the incoming one waits for it to be mostly gone before it starts to show.
5253
const LABEL_ENTERING = FadeIn.duration(160).delay(80).reduceMotion(ReduceMotion.System);
@@ -274,7 +275,7 @@ export function FloatingWorkingControl(props: {
274275

275276
<AnimatedGlassView
276277
colorScheme={props.colorScheme}
277-
glassEffectStyle="regular"
278+
glassEffectStyle={{ style: props.showScrollToEnd ? "regular" : "none", animate: true }}
278279
isInteractive
279280
pointerEvents={props.showScrollToEnd ? "auto" : "none"}
280281
accessibilityElementsHidden={!props.showScrollToEnd}

0 commit comments

Comments
 (0)