Skip to content

Commit

Permalink
fix(std): dispatcher pointerUp calls twice (#8485)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Minaev <n.minaev@vkteam.ru>
  • Loading branch information
majula2111 and Nikita Minaev authored Oct 4, 2024
1 parent aa8ffe5 commit b9d7ac6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/framework/block-std/src/event/control/pointer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ class ClickController extends PointerControllerBase {
const context = createContext(event, state);

const run = () => {
this._dispatcher.run('pointerUp', context);
this._dispatcher.run('click', context);
if (this._pointerDownCount === 2) {
this._dispatcher.run('doubleClick', context);
Expand Down

0 comments on commit b9d7ac6

Please sign in to comment.