Skip to content
This repository was archived by the owner on Feb 21, 2026. It is now read-only.
This repository was archived by the owner on Feb 21, 2026. It is now read-only.

Fix documentation about CSS.Transform.toString(transform) #27

Description

@pschaub

According to this issue you should use CSS.Translate.toString(transform) instead of CSS.Transform.toString(transform) to prevent scale transformation issues.

I would like to suggest to replace all CSS.Transform.toString(transform) in the documentation to CSS.Translate.toString(transform) as default. All examples in the clauderic/dnd-kit repository are also using this.

Activity

  1. leje512 commented on Jan 8, 2025

    @leje512

    This works great! Are there any tradeoffs in using CSS.Translate.toString(transform) instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions