mirror of
https://github.com/outline/outline.git
synced 2026-12-06 11:12:32 +03:00
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:
1 parent
6366859935
commit
deadaa00f1
1 file changed
+13
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user