taye / taye/interact.js

Snapping not working

Open
#986 0 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

I used this library for dragging and resizing, which is working very well .but tried dragging via an external handle here dragging is working but snapping not working.I provide here a small demo please check and correct me if I'm wrong .thanks in advance.

https://codesandbox.io/s/romantic-murdock-wehmbu?file=/src/App.js
here if you try dragging via top left corner box and see snapping didn't work.

Expected behaviour

snapping should work here

Actual behavior

snapping not working

System configuration

interact.js version:^1.10.17
Browser name and version:Brave 1.44.112
Operating System:mac

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

Start with the linked CodeSandbox demo and inspect src/App.js to reproduce dragging through the top-left external handle. Compare that path with the working snapping behavior and verify the issue is resolved when snapping also works from that handle.

Written by the indexing model from the issue text.

Assessment

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