Skip to content

Bugs on mouse event handle of Board #14

@johnmave126

Description

@johnmave126

If you mouse down on the board
Keep down and move the mouse out of the board area to the top bar
Release the mouse
Move the mouse back to the board
The board will move with your mouse

This can be easily reproduced by common users.
The real situation is that a user may try to scroll the board in a very fast speed.

The root cause of this problem is that the board catch the mousedown event, however after mouseout, the mouseup event will be caught by the top bar instead of the board. So the board keep the state of mousedown.
This may be solved either by adding a mouseout handler to the board to clear the board state upon the leaving of mouse, or passing the mousedown event to the board from the top bar.
Personally, the former solution is better.

The following is by Gan Dashen
你们呐,还是要多学习,我只是在这里告诉你们一些我的人生经验。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions