Skip to content

[BUG] transform-origin miscalculation in Firefox #824

@gajus

Description

@gajus

1. Read the FAQs 👇

Done

2. Describe the bug

framer miscalculates transform-origin and there is no way to override it.

3. IMPORTANT: Provide a CodeSandbox reproduction of the bug

https://codesandbox.io/s/example-2-simple-translation-forked-kgdj9?file=/src/index.js

4. Steps to reproduce

Inspect rect element styles.

5. Expected behavior

Expected (Chrome):

element {
    transform: scale(1) rotate(360deg);
    transform-origin: 0.5px 0.5px;
}

Unexpected (Firefox)

element {
    transform: scale(1) rotate(360deg);
    transform-origin: 0px 0px 0px;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions