dream-num / univer

Univer is an Isomorphic Full-Stack Framework for Creating and Editing Spreadsheets, Docs, and Slides Across Web and Server
https://univer.ai
Apache License 2.0
7.14k stars 628 forks source link

[Bug] When pressing and holding the scroll up and down or sliding left and right, the scroll position will disappear #3640

Closed mukiwu closed 1 month ago

mukiwu commented 1 month ago

在您提交此问题之前,您是否检查了以下内容?

受影响的包和版本

0.2.15

复现链接

https://llqiwmrpoygithub-dvdl--5173--e60eb5c9.local.webcontainer.io/

瀏覽器:Arc 1.60.0

预期行为

當游標按住捲軸移動時,捲軸應該會被壓在游標下面,而且會很順暢地滾動

实际行为

游標按住捲軸移動時,捲軸的位置會跑掉,移動時位置也會跑掉

https://github.com/user-attachments/assets/ec9c1255-4bfb-40a6-a2a5-69737233c0b7

运行环境

其他 (请在复现步骤中说明)

系统信息

No response

univer-bot[bot] commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Bug] 按住捲軸上下或左右滑動時,捲軸位置會跑掉

Title: [Bug] When pressing and holding the scroll up and down or sliding left and right, the scroll position will disappear


Before you submitted this question, did you check the following?

Affected packages and versions

0.2.15

Recurrence link

https://llqiwmrpoygithub-dvdl--5173--e60eb5c9.local.webcontainer.io/

Browser: Arc 1.60.0

Expected behavior

When the cursor is moved while holding down the scroll, the scroll should be pressed under the cursor and scroll smoothly.

Actual behavior

When the cursor is pressed and moved on the scroll, the position of the scroll will disappear, and the position will also disappear when moving.

https://github.com/user-attachments/assets/ec9c1255-4bfb-40a6-a2a5-69737233c0b7

Running environment

Others (please explain in the reproduction steps)

System information

No response

hexf00 commented 1 month ago

duplicate #3554, fixed on #3556