Open dmyz opened 1 year ago
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: [DialogBox] The pop-up window on the right does not open smoothly
这个是加了动画所以导致的不流畅嘛?
Bot detected the issue body's language is not English, translate it automatically.
Is this caused by the added animation causing it to be unsmooth?
能否详细说明下问题,最好附上录屏文件。
Bot detected the issue body's language is not English, translate it automatically.
Can you explain the problem in detail? It would be better to attach the screen recording file.
见官网,右侧弹窗呈现很丝滑,没有卡顿。
Bot detected the issue body's language is not English, translate it automatically.
See the official website, the pop-up window on the right is very smooth and there is no lag.
复现步骤:
猜测是动画效果还需要调整一下,帧率掉了60帧左右可能让人觉得卡顿
Bot detected the issue body's language is not English, translate it automatically.
Reproduction steps:
- Ctrl + Shift + I open devTools
- Ctrl + Shift + P open the command window
- Search for fps and click Show frames per second (FPS) meter
- Click the button to pop up the right panel, as shown below:
My guess is that the animation effect needs to be adjusted. The frame rate dropped by about 60 frames, which may make people feel stuck.
补充,Performance 录制也可以清晰看到展开那段帧率掉很多
希望对贡献者有所帮助。
在录制性能中,能看到,打开瞬间会卡掉2帧。 消耗在重新布局了,需要优化
Bot detected the issue body's language is not English, translate it automatically.
In the recording performance, you can see that 2 frames will be stuck the moment it is turned on. It’s wasted on re-layout and needs to be optimized.
Version
3.11.0
Vue Version
3.3.4
Link to minimal reproduction
https://opentiny.design/tiny-vue/zh-CN/os-theme/components/dialog-box#right-dialog
Step to reproduce
点击按钮看效果
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response