jquery / jquery/jquery-ui

Drag element into the iframe sortable elements the clone helper offset position issue.

Open
#2,089 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Behavior shared with 1.12 Bug Comp: Sortable
Dominant language
JavaScript
Stars
11.3k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

I used the 1.13.1, I have another issue, when drag the element into the iframe and the sortable elements, the cloned element offset changed, but end sortable, the offset works again.
rl6uh-c8xbw

Anybody can help figure out the root cause? Thanks.
BTW, when start the drag operation, the drag not smoothly and feel some lags.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the drag from the issue’s GIF and compare clone positioning while entering an iframe sortable area with its position after sorting ends. Trace the sortable drag and clone offset handling to identify where the iframe changes the offset. Done means the clone stays correctly positioned during the drag and the reported lag is addressed without breaking normal sortable behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.