taye / taye/interact.js

Resizable element with a "modifier": "aspectRatio" reverse in top right and bottom left angle

Open
#944 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
12.9k
Forks
804
PR merge metrics
No merged PRs in 30d

Description

Actual behavior

When we create a resizable element with a "modifier": "aspectRatio". The top right and bottom left angle works in reverse.

Here is an example: https://codepen.io/tups/pen/RwLgmLO

System configuration

interact.js version: 1.10.11
Browser name and version: All
Operating System: All

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.

Research direction

Reproduce the reverse behavior using the linked CodePen and interact.js 1.10.11 with the aspectRatio modifier. Inspect the resize modifier behavior for the top-right and bottom-left corners, then verify that both preserve the expected aspect ratio and resize direction across the listed browsers and operating systems.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.