Dragging over element with onFocusEvent cause event

Open
#617 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, react
Domain
frontend

Research direction

No source files, tests, or entry points are identified in the issue. Start by reproducing the attached dragging scenario in react-draggable and trace the focus behavior; done means dragging across an element with an onFocus event does not trigger that event before the mouse button is released.

Written by the indexing model from the issue text.

Description

Hi,
Found a bug. If mouse pointer cross element with onFocus event, while dragging, element get focus and cause event. But mouse button is not released.
Attached video as example.
https://user-images.githubusercontent.com/3005841/144009899-e8a68a6a-11b8-4627-9c93-39ed64406eb8.mp4

Dominant language
JavaScript
Stars
9.3k
Forks
1k
Avg merge
3d 8h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from react-grid-layout/react-draggable

All issues in react-grid-layout/react-draggable

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.