jquery / jquery/jquery-ui

Sortable containment boundaries do not get updated while scolling

Open
#2,174 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

This bug might be related to #9460, but its fix does not fix this issue.

If you make a sortable, which "containment" element is placed in an element that is too small to show it without scrolling, you can scroll while dragging and its boundaries do not move with the scrolling.

Here's a fiddle to better show what I mean http://jsfiddle.net/e9hgdjqf/

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 with the linked jsFiddle reproduction and trace jQuery UI's sortable containment and scrolling behavior; the issue does not name a source file or test. Done means containment boundaries move with the containing element while dragging and scrolling, with the reported reproduction covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.