Skip to content

[SR][HP-PERF]MWPW-203838: Use transform for grid scale animation - #6461

Open
zagi25 wants to merge 1 commit into
sr-perf-ddfrom
scale-down-grid
Open

[SR][HP-PERF]MWPW-203838: Use transform for grid scale animation#6461
zagi25 wants to merge 1 commit into
sr-perf-ddfrom
scale-down-grid

Conversation

@zagi25

@zagi25 zagi25 commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

@aem-code-sync

aem-code-sync Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

@NadiiaSokolova NadiiaSokolova self-assigned this Aug 12, 2026

@overmyheadandbody overmyheadandbody left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this trigonometric sorcery?! 🪄

@zagi25

zagi25 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

@overmyheadandbody, magic was added by Claude 😅

The short answer

tan(atan2(y, x)) is a CSS trick to divide two lengths and get back a unitless number

So basically because of the scale we can't have px/% etc. and this gives us just a number e.g. 1.2 or 1.1

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants