Skip to content

改进拖拽移动块翻页 #12461

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

Open
TCOTC opened this issue Sep 13, 2024 · 10 comments
Open

改进拖拽移动块翻页 #12461

TCOTC opened this issue Sep 13, 2024 · 10 comments
Assignees

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Sep 13, 2024

  1. 拖拽移动块翻页不匀速

    video.webm
  2. 鼠标移动到顶部或底部时不需要立即翻页,否则跨文档移动块的情况会导致意外的翻页

    video.webm
@TCOTC TCOTC changed the title 移动块的速度太快,一下就到顶/底了 拖拽移动块时翻页的速度太快,一下就到顶/底了 Sep 13, 2024
@suka233333
Copy link

这个确实要优化一下,拖拽的时候还不能用鼠标滚轮来控制,每次小心翼翼的

@TCOTC
Copy link
Contributor Author

TCOTC commented Sep 15, 2024

拖拽的时候还不能用鼠标滚轮来控制

这一点可以关注 #10096

@TCOTC
Copy link
Contributor Author

TCOTC commented Sep 17, 2024

不知道为什么,现在又恢复了之前那种稍微卡卡的状态,不会一下就到顶/底了

@88250
Copy link
Member

88250 commented Sep 23, 2024

请使用最新 dev 版本测试看看。

@TCOTC
Copy link
Contributor Author

TCOTC commented Sep 23, 2024

之前一下就到顶/底属于是过于流畅,现在又是略卡顿的状态,不知道为啥

@88250
Copy link
Member

88250 commented Sep 23, 2024

录个屏看看

@Vanessa219

@TCOTC

This comment was marked as outdated.

@TCOTC TCOTC changed the title 拖拽移动块时翻页的速度太快,一下就到顶/底了 改进拖拽移动块翻页 Sep 23, 2024
@TCOTC

This comment was marked as outdated.

@TCOTC
Copy link
Contributor Author

TCOTC commented Dec 22, 2024

研究了一下,Windows 上关掉这个性能选项的话会导致 Web 的 scroll-behavior: smooth;behavior: "smooth" 失效:

image

打开就行了(从瞬间移动恢复为一顿一顿🙃)

@TCOTC TCOTC changed the title 改进拖拽移动块翻页 拖拽移动块翻页不匀速 Dec 22, 2024
@TCOTC TCOTC changed the title 拖拽移动块翻页不匀速 改进拖拽移动块翻页 Jan 7, 2025
@TCOTC
Copy link
Contributor Author

TCOTC commented Jan 11, 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

No branches or pull requests

4 participants