Skip to content
TypeScript

fix(web): selected provider ring no longer clipped during panel resize (#17534)

Jeand1e56e79ff6a
diff --git a/apps/web/src/components/AnimatedHeight.tsx b/apps/web/src/components/AnimatedHeight.tsx
index b6c5926ad7d..764ab5a48cb 100644
--- a/apps/web/src/components/AnimatedHeight.tsx
+++ b/apps/web/src/components/AnimatedHeight.tsx
@@ -80,11 +80,11 @@ export function AnimatedHeight({
return (
<div
data-slot="animated-height"
- className="transition-[height] duration-200 ease-out motion-reduce:transition-none"
+ className="transition-[height] duration-200 ease-out motion-reduce:transition-none [overflow-clip-margin:2px]"
style={
heightState.height === null
? undefined
- : { height: heightState.height, overflow: heightState.isClipping ? "hidden" : "visible" }
+ : { height: heightState.height, overflow: heightState.isClipping ? "clip" : "visible" }
}
onTransitionEnd={(event) => {
if (event.target !== event.currentTarget || event.propertyName !== "height") return;