fix: Disable floating toolbar interaction during open animation (#12508)

Closes #12503

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Tom Moor
2026-05-28 09:06:55 -04:00
committed by GitHub
parent 6366859935
commit deadaa00f1
+13
View File
@@ -420,11 +420,24 @@ const Wrapper = styled.div<WrapperProps>`
box-sizing: border-box;
}
& button,
& a,
& input {
pointer-events: none;
}
${({ active }) =>
active &&
`
transform: translateY(-6px) scale(1);
opacity: 1;
& button,
& a,
& input {
pointer-events: auto;
transition: pointer-events 0s 300ms;
}
`};
@media print {