Sync Beam viewer resize transition

This commit is contained in:
DCCONSTRUCTIONS 2026-06-05 18:55:54 +03:00
parent e4fd2a5eff
commit 2ad9e7f85c
1 changed files with 3 additions and 1 deletions

View File

@ -397,11 +397,13 @@ export const IssueView = observer(function IssueView(props: IIssueView) {
const portalContainer = document.getElementById("full-screen-portal") as HTMLElement;
const issuePanelStyle = {
const issuePanelStyle: CSSProperties = {
width: shouldAllowPeekResize && peekMode === "side-peek" ? `${sidePeekWidth}px` : undefined,
boxShadow: shouldRenderPeekSurface
? "0px 4px 8px 0px rgba(0, 0, 0, 0.12), 0px 6px 12px 0px rgba(16, 24, 40, 0.12), 0px 1px 16px 0px rgba(16, 24, 40, 0.12)"
: undefined,
transition: isResizingPeek ? "none" : undefined,
willChange: isResizingPeek ? "width" : undefined,
};
const issuePanel = issueId ? (