From 3878477e2c412e6a3f522941cc9958a6f8b7ba42 Mon Sep 17 00:00:00 2001 From: ZHENG <18823776746@qq.com> Date: Mon, 24 Oct 2022 21:45:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20`n-tree`=20?= =?UTF-8?q?=E5=9C=A8=E8=B0=B7=E6=AD=8C=E3=80=81edge=20=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8=20106=20=E7=89=88=E6=9C=AC=E4=B8=8B=E6=8B=96=E5=8A=A8?= =?UTF-8?q?=20tree=EF=BC=8C=E5=87=BA=E7=8E=B0=E7=99=BD=E5=B1=8F=E7=8E=B0?= =?UTF-8?q?=E8=B1=A1=EF=BC=8C=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.en-US.md | 3 +++ CHANGELOG.zh-CN.md | 2 ++ src/tree/src/styles/index.cssr.ts | 1 + 3 files changed, 6 insertions(+) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 10581ea1d2f..8e7c89b41ed 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -14,6 +14,9 @@ - Fix `n-data-table` throws error on tree data check action, closes [#3832](https://github.com/tusen-ai/naive-ui/issues/3832). +- Fix `n-tree` Drag the tree in Google and Edge browser version 106, and the white screen appears. Close [#3909](https://github.com/tusen-ai/naive-ui/issues/3909) + + ## 2.33.4 ### Fixes diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 8c58abf3755..2e100388e0e 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -14,6 +14,8 @@ - 修复 `n-data-table` 树形数据勾选时报错,关闭 [#3832](https://github.com/tusen-ai/naive-ui/issues/3832) +- 修复 `n-tree` 在谷歌、edge 浏览器 106 版本下拖动 tree,出现白屏现象,关闭 [#3909](https://github.com/tusen-ai/naive-ui/issues/3909) + ## 2.33.4 ### Fixes diff --git a/src/tree/src/styles/index.cssr.ts b/src/tree/src/styles/index.cssr.ts index cb1b3b0f5c7..68901afb998 100644 --- a/src/tree/src/styles/index.cssr.ts +++ b/src/tree/src/styles/index.cssr.ts @@ -51,6 +51,7 @@ export default cB('tree', ` padding: 3px 0; `), cB('tree-node', ` + transform: translate3d(0,0,0); position: relative; display: flex; border-radius: var(--n-node-border-radius);