Skip to content

Commit afdee75

Browse files
zombieJclaude
andcommitted
feat: add transform transition for stack content
- Add transform transition to list content for smooth animations - Disable transition when stack is expanded for immediate scroll response Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0c4bda3 commit afdee75

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

assets/geek.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
gap: 8px;
2525
width: 100%;
2626
pointer-events: none;
27+
transition: transform @notificationMotionDuration @notificationMotionEase;
2728
will-change: transform;
2829
}
2930

@@ -37,6 +38,10 @@
3738

3839
&-stack-expanded {
3940
pointer-events: auto;
41+
42+
.@{notificationPrefixCls}-list-content {
43+
transition: none;
44+
}
4045
}
4146

4247
&-notice {

0 commit comments

Comments
 (0)