颜志鹏
颜志鹏
@tdejager Thank you, it worked. I also installed `styled-components ` vim plugin.
安装下 openssl-util 就行了
``` .ReactVirtualized__List:focus { outline: none; } ```
期待推出这个配置,类似钉钉、qq这种IM 软件,两边分栏,经常会在联系人和对话栏切换的时候,容易有这种跨越滚动的问题,由于这些软件在工作生活中使用频率挺高,就有点困扰
@Caldis 了解了,谢谢👍🏻
the same with #1764
这个应该是浏览器的行为,禁用掉 selection 一些选区变换操作(例如 setNativeRange、getNativeRange),直接调用 dom 的 removeChild api 将 img 删除,依然会有这样的行为,很大概率上说明 quill 没有在滚动这个事情上带来副作用,你可以通过在滚动容器上监听 scroll 事件,看下调用堆栈就明晰了。要解决这个问题你上面已经说明问题原因了,调整好外部容器布局就 ok 了。
@zhuSass 最粗暴的验证方式,在图片已经添加到编辑区域后,在 devtools 中 disable javascript,这样就完全排除 quill 的干扰,之后在 Elements 选中 img 节点,进行删除,滚动问题依然存在。
The answer is no. Quill use it's own document model [quilljs/parchment](https://github.com/quilljs/parchment).
> > The answer is no. Quill use it's own document model [quilljs/parchment](https://github.com/quilljs/parchment). > > please see quilljs/quill/formats/image.js,in this formatter using execCommand. > but quill is better then baidu editor...