Skip to content

Commit cd9e9ae

Browse files
zombieJclaudemeet-student
authored
fix: bump @rc-component/motion to fix image preview flicker (ant-design#56937)
* fix: bump @rc-component/motion to fix image preview flicker Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: bump @rc-component/motion to ^1.3.1 to fix image preview flicker Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * test: update snapshots for back-top, color-picker and float-button Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: 遇见同学 <1875694521@qq.com>
1 parent bf370c4 commit cd9e9ae

4 files changed

Lines changed: 3 additions & 428 deletions

File tree

components/back-top/__tests__/__snapshots__/demo.test.tsx.snap

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,7 @@ exports[`renders components/back-top/demo/basic.tsx correctly 1`] = `
44
Array [
55
<div
66
class="css-var-test-id ant-back-top"
7-
>
8-
<div
9-
class="ant-back-top-content"
10-
>
11-
<div
12-
class="ant-back-top-icon"
13-
>
14-
<span
15-
aria-label="vertical-align-top"
16-
class="anticon anticon-vertical-align-top"
17-
role="img"
18-
>
19-
<svg
20-
aria-hidden="true"
21-
data-icon="vertical-align-top"
22-
fill="currentColor"
23-
focusable="false"
24-
height="1em"
25-
viewBox="64 64 896 896"
26-
width="1em"
27-
>
28-
<path
29-
d="M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"
30-
/>
31-
</svg>
32-
</span>
33-
</div>
34-
</div>
35-
</div>,
7+
/>,
368
Scroll down to see the bottom-right.,
379
]
3810
`;

components/color-picker/__tests__/__snapshots__/demo-extend.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3777,7 +3777,6 @@ exports[`renders components/color-picker/demo/line-gradient.tsx extend context c
37773777
class="ant-segmented-item"
37783778
>
37793779
<input
3780-
checked=""
37813780
class="ant-segmented-item-input"
37823781
name="test-id"
37833782
type="radio"
@@ -3793,6 +3792,7 @@ exports[`renders components/color-picker/demo/line-gradient.tsx extend context c
37933792
class="ant-segmented-item ant-segmented-item-selected"
37943793
>
37953794
<input
3795+
checked=""
37963796
class="ant-segmented-item-input"
37973797
name="test-id"
37983798
type="radio"

0 commit comments

Comments
 (0)