z-index set to 1000 when an element is dragged
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 155
- PR merge metrics
- No merged PRs in 30d
Description
I’m using jQuery++ to make an element with a high z-index draggable. Unfortunately, [this line of code](https://github.com/bitovi/jquerypp/blob/85a2d54d2e59f9e511469a9223609412fc16d60e/event/drag/core/core.js#L268) sets the `z-index` to `1000`, causing my element to go under other elements while being dragged.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at event/drag/core/core.js line 268, which the issue identifies as setting the dragged element's z-index to 1000. Check the surrounding drag-start logic and verify that dragging no longer overrides an element's existing high z-index; the issue is done when such elements remain above overlapping elements while dragged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, jquery
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100