jquery / jquery/jquery-ui

CSS transformation issue with lasso position

Open
#1,961 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When using selectable on html elements with css transform constraints such as scale, translate, the lasso position will be offseted by alot. The calculation is not working anymore.
Previously I found out a fix myself, however this one is not working anymore:
https://stackoverflow.com/questions/48097407/jquery-ui-selectable-css-transform-issue

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 offset in selectable on HTML elements using CSS scale and translate constraints, then compare the current calculation with the linked Stack Overflow workaround. Done means the lasso remains correctly positioned under these transforms and the behavior is verified against the reported case.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.