github PuruVJ/neodrag @neodrag/core@3.0.0-next.8

latest releases: @neodrag/vanilla@3.0.0-next.9, @neodrag/solid@3.0.0-next.8, @neodrag/vue@3.0.0-next.9...
pre-releaseone month ago

Patch Changes

  • #182 f221917 Thanks @PuruVJ! - Fix floating-point precision bug in drag calculations at large coordinates (issue #232)

    This fix addresses a critical precision issue where dragging elements at large coordinates with small movements caused floating-point precision loss, resulting in incorrect element positioning. The delta calculation has been optimized to use inverse scale compensation, and the expensive inverse_scale calculation is now cached as an instance property for improved performance.

    • Fixed precision loss in delta calculations at large coordinates
    • Optimized performance by caching inverse_scale calculation
    • Added comprehensive cross-browser tests to detect precision bugs
    • Tests now properly fail with buggy code and pass with the fix applied

Don't miss a new neodrag release

NewReleases is sending notifications on new releases.