Skip to content

Conversation

@TCOTC
Copy link
Contributor

@TCOTC TCOTC commented Aug 1, 2025

Close #15400

@TCOTC TCOTC mentioned this pull request Aug 1, 2025
3 tasks
@88250 88250 requested a review from Vanessa219 August 1, 2025 08:47
@Vanessa219
Copy link
Member

我好像无法重现,不是有滚动条么?

@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 1, 2025

调整窗口会比较容易重现:

video.webm

@Vanessa219
Copy link
Member

resize 窗口的话,这样会有其他问题:菜单可能过小或为负数。应该重新计算才对。

Jietu20250801-223353-HD.mp4

@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 1, 2025

那我再试试重新计算

@TCOTC TCOTC marked this pull request as draft August 1, 2025 14:46
@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 10, 2025

目前下方没有足够空位的话菜单会变成尽量靠上,菜单一会上一会下用起来比较别扭,需要看看能不能参考 Notion 的逻辑改成尽量靠下:

video.webm

还有这种情况是尽量靠下更好:https://ld246.com/article/1755687773481

@Vanessa219
Copy link
Member

Vanessa219 commented Aug 11, 2025

尽量靠下的算法是?

@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 18, 2025

发现调整窗口之后子菜单也会超出边界:

image

@TCOTC TCOTC marked this pull request as ready for review August 18, 2025 09:24
@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 18, 2025

修改后的效果:

video.webm

@TCOTC
Copy link
Contributor Author

TCOTC commented Oct 7, 2025

又完善了一下。目前的效果:

video.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants