google/blockly

After the block drag is completed, the mouse event is not released

tracer1023 opened this issue · 10 comments

Uploading bbb.mp4…

Check for duplicates

  • I have searched for similar issues before opening a new one.

Description

On the pad side, when dragging a building block with one or two fingers, the problem of finger following the building block occasionally occurs.
It has been verified that the finger following problem will occur in both v10.3.1 and V10.4.1 versions.

aaa.mp4

Reproduction steps

  1. Drag out blocks
  2. Drag blocks with one or two fingers in a circular motion
    3.Occasional finger following problem

Stack trace

The console did not report an error when the finger following problem occurred

Screenshots

No response

Browsers

mobile pad

This demo is a demo written using the new version of blockly, which is basically the same as the demo on the official website.

bbb.mp4

Hello @tracer1023 it looks like you opened a similar bug previously: #7807 but we had to close it without getting more information.

Unfortunately we are still not able to reproduce this on our touch devices. Can you provide any additional information, such as minimum reproducible example, browser info, etc?

Here is the minimal example code link,develop branch
https://github.com/tracer1023/blocklyDemo.git

You can use webview to open this code on the pad and drag it with one or two fingers in a circular motion, which may occasionally cause finger following problems.
截图_20240222114143

When this problem occurs in version v10.4.2, a console error appears
i飞图片_1708581439265

How to reproduce the problem

ccc.mp4

This problem is also reproduced on this website
https://blockly-demo.appspot.com/static/demos/code/index.html

Chat_20240222153823.mp4

Hello @tracer1023 it looks like you opened a similar bug previously: #7807 but we had to close it without getting more information.

Unfortunately we are still not able to reproduce this on our touch devices. Can you provide any additional information, such as minimum reproducible example, browser info, etc?

Waiting for your reply!

Can you tell us what tablet you are using, and what version of which web browser you are using? Unfortunately we are still not able to reproduce this on our end but we will look into it.

Do you know if this only happens in Blockly v10.3 and above? Or can you try it with an older version of Blockly and let us know if this was a more recent regression? Here's the code demo on version 9.3.1 of Blockly for example, if you could try that and let us know if you have the same behavior, that would be great! A stack trace from that version would also be useful if the problem does occur.

@BeksOmega does the error in the stack trace above look familiar / possible this was introduced by recent dragging changes?

Hi @tracer1023 have you had a chance to look at my last message? Unfortunately without your help I don't think our team will be able to solve this on our own since we can't reproduce it.

Hi @tracer1023 feel free to reopen this issue if you can provide the additional info requested above. Thanks!