Skip to content

Conversation

@dancormier
Copy link
Contributor

@dancormier dancormier commented Jul 21, 2025

We've had the will-change CSS property on our modals for some ~7 years. Seems it's not necessary and possibly detrimental to performance (see MDN).

This PR moves that CSS property. See also this Meta post.

@changeset-bot
Copy link

changeset-bot bot commented Jul 21, 2025

🦋 Changeset detected

Latest commit: a7133d3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@stackoverflow/stacks Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Jul 21, 2025

Deploy Preview for stacks ready!

Name Link
🔨 Latest commit a3ab0a0
🔍 Latest deploy log https://app.netlify.com/projects/stacks/deploys/687e4758e717a800080b4f07
😎 Deploy Preview https://deploy-preview-1958--stacks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dancormier dancormier changed the title chore(modal): remove unneeded will-change CSS rule chore(modal): remove unneeded will-change CSS property Jul 21, 2025
@dancormier dancormier requested review from KyleMit and giamir July 21, 2025 13:54
@dancormier dancormier marked this pull request as ready for review July 21, 2025 13:58
Copy link
Contributor

@giamir giamir left a comment

Choose a reason for hiding this comment

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

Tested, I did not find any regression. Thanks @dancormier

@dancormier dancormier merged commit 4f0b3aa into develop Jul 21, 2025
11 checks passed
@dancormier dancormier deleted the dcormier/remove-will-change branch July 21, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants