Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
shenjinglei opened this issue Nov 12, 2023 · 0 comments
Closed
3 tasks done

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

shenjinglei opened this issue Nov 12, 2023 · 0 comments
Assignees
Milestone

Comments

@shenjinglei
Copy link

shenjinglei commented Nov 12, 2023

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

@Vanessa219 Vanessa219 changed the title 插件api的addDock中resize没有触发 Dragging to unpin the dock does not trigger resize Nov 13, 2023
@Vanessa219 Vanessa219 self-assigned this Nov 13, 2023
@Vanessa219 Vanessa219 added this to the 2.10.15 milestone Nov 13, 2023
@Vanessa219 Vanessa219 changed the title Dragging to unpin the dock does not trigger resize resize cannot be triggered after dragging to unpin the dock Nov 13, 2023
Vanessa219 added a commit that referenced this issue Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants