Skip to content

resize cannot be triggered after dragging to unpin the dock #9640

@shenjinglei

Description

@shenjinglei

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

当dock取消钉住的时候,变更dock宽度,resize不能正常触发。

我在插件resize方法中写了console.log()语句。如下视频所示

siyuan_temp2.mp4

而取消钉住后的最小化和还原还是可以触发resize的。如下视频所示

siyuan_temp4.mp4

问题背景是我开发的“关系图增强”插件,收到这个issue后,我发现是因为resize没有正常触发导致的。希望能帮忙查下这块,谢谢。

Expected result

希望能看下这种情况是需要修复,还是属于正常情况。后者的话我可能需要重新设计我插件的重绘逻辑。

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.10.14
- Operating System: windows
- Browser (if used):

Log file

暂无

More information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions