am-editor
am-editor copied to clipboard
safari下卡顿
Describe the bug
在safari下,只要内容稍微一多,则会出现输入文字延迟,光标定位延迟情况,特别是在表格较多的情况下。
To Reproduce
随便插入一些图片,表格、文字就出现卡顿情况,见视频
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
https://user-images.githubusercontent.com/437330/172093605-b1d7dbe9-bc5a-4e04-a71d-a98f4a776bc5.mov
- MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports) 2 GHz Dual-Core Intel Core i5
- macOS Monterey 12.3.1
- safari Version 15.4 (17613.1.17.1.13)
Additional context
使用是的vue2的版本,官方应该用的是vue3版本,在同一个浏览器下没有上述问题。
vue插件 和 engine 都是什么版本?
我在 https://github.com/zb201307/am-editor-vue2 中也没有复现
vue插件 和 engine 都是什么版本?
"vue": "^2.6.11", "@aomao/engine": "^2.9.9",
我在 https://github.com/zb201307/am-editor-vue2 中也没有复现
我试试这个,看会不会
我在 https://github.com/zb201307/am-editor-vue2 中也没有复现
在三台Mac上试过了,发现在1台 macos mojave系统的浏览器(safari 12.1.2)不会卡顿,另外两台 macOS Monterey 12.3.1(safari 15.4)会卡顿
神奇...
可以录制一个性能分析吗?
主要看他的调用树用的每个活动的用时

是用这个时间线录吗,我一点录制,界面基本就卡死了..
