Sync Beam viewer resize transition
This commit is contained in:
@@ -397,11 +397,13 @@ export const IssueView = observer(function IssueView(props: IIssueView) {
|
|||||||
|
|
||||||
const portalContainer = document.getElementById("full-screen-portal") as HTMLElement;
|
const portalContainer = document.getElementById("full-screen-portal") as HTMLElement;
|
||||||
|
|
||||||
const issuePanelStyle = {
|
const issuePanelStyle: CSSProperties = {
|
||||||
width: shouldAllowPeekResize && peekMode === "side-peek" ? `${sidePeekWidth}px` : undefined,
|
width: shouldAllowPeekResize && peekMode === "side-peek" ? `${sidePeekWidth}px` : undefined,
|
||||||
boxShadow: shouldRenderPeekSurface
|
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)"
|
? "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,
|
: undefined,
|
||||||
|
transition: isResizingPeek ? "none" : undefined,
|
||||||
|
willChange: isResizingPeek ? "width" : undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
const issuePanel = issueId ? (
|
const issuePanel = issueId ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user