feat(extension): 禁用 EmptyState 组件的自动开始动画
- 在 EmptyState 组件的动画配置中添加了 startOnView=false 属性 - 防止动画在视图加载时自动开始播放 - 优化了用户体验,避免不必要的动画干扰
This commit is contained in:
@@ -111,6 +111,7 @@ export function EmptyState() {
|
|||||||
]}
|
]}
|
||||||
cursorStyle="underscore"
|
cursorStyle="underscore"
|
||||||
loop
|
loop
|
||||||
|
startOnView={false}
|
||||||
typeSpeed={20}
|
typeSpeed={20}
|
||||||
deleteSpeed={10}
|
deleteSpeed={10}
|
||||||
pauseDelay={3000}
|
pauseDelay={3000}
|
||||||
|
|||||||
Reference in New Issue
Block a user