question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect transform calculation when `setFixedDirection` set to `[0, 0]`

See original GitHub issue

Environments

Description

When I use setFixedDirection([0, 0]) mouse position is not calculated correctly or as it should. I have recorded my screen and tried to show how to reproduce this issue and how I expect it to work: https://www.loom.com/share/2d92fa6230774874a64bf441dbb30bde

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
seahindenizcommented, Jul 29, 2022
1reaction
daybrushcommented, May 7, 2022

@seahindeniz

Test 0.29.8 version. It works, but there is another minor problem. I’ll check.

Read more comments on GitHub >

github_iconTop Results From Across the Web

moveable/Scalable.ts at master - GitHub
setDefaultTransformIndex (e, "scale");. datas.isWidth = isWidth;. function setRatio(ratio: number) {. datas.ratio = ratio && isFinite(ratio) ? ratio : 0;. }.
Read more >
Resizable - Documentation - Daybrush
If fixedDirection is set, the boundingWidth and boundingHeight values can be changed and can be reconfirmed as a return value. fixedDirection set by ......
Read more >
Create Draggable/Resizable/Scalable/Rotatable/Warpable ...
moveable is a JavaScript library that makes an element draggable, resizable, scalable, rotatable and wrapable.
Read more >
Incorrect route calculation - Support Forum
The first problem is based on the calculation of the route, when I move an agent ... nodes width 640 nodes depth 640,...
Read more >
https://raw.githubusercontent.com/daybrush/moveabl...
[0.36.1](https://github.com/daybrush/moveable/compare/0.36.0...0.36.1) (2022-09-19) ### :sparkles: Packages * `@moveable/helper` 0.0.4 * `lit-moveable` ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found