From e2cd23290681c1dee005303a215399f9c37ea5a3 Mon Sep 17 00:00:00 2001 From: Alexey Morozov Date: Sat, 23 May 2026 01:30:34 +0300 Subject: [PATCH] Fix canvas panning optimization not being applied due to incorrect `z-index` value --- CHANGELOG.md | 3 +++ styles/diagram/_canvasArea.scss | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e361e5e3..4505fe6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p #### 🐛 Fixed - Fix partially or fully hidden outlines for `WorkspaceLayoutItem` headers and `Navigator` toggle button. +#### ⏱ Performance +- Fix canvas panning optimization not being applied due to incorrect `z-index` value. + #### 💅 Polish - Allow to configure `SearchResults` utility component with `isItemDisabled` and `multiSelection` props: * Remove `singleSelectOnClick` mode from `SearchResults` as it mostly superseded by `multiSelection`. diff --git a/styles/diagram/_canvasArea.scss b/styles/diagram/_canvasArea.scss index 03c78e8f..680fc8a3 100644 --- a/styles/diagram/_canvasArea.scss +++ b/styles/diagram/_canvasArea.scss @@ -3,7 +3,7 @@ @use "../theme/theme"; .reactodia-canvas-area { - --reactodia-paper-panning-overlay-z-index: zIndex.$panning-overlay; + --reactodia-paper-panning-overlay-z-index: #{zIndex.$panning-overlay}; flex: auto; width: 0;