Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add will-change to excalidraw diagrams. #3503

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

rodrigogiraoserrao
Copy link
Contributor

@rodrigogiraoserrao rodrigogiraoserrao commented Oct 10, 2023

Adding will-change: filter seems to fix the issue with the Excalidraw diagrams on dark mode and recent Safari versions. This change was also tested on Firefox and Chrome and it didn't break the diagrams in those browsers.

This fixes #3497.

Docs on macbook:

Screenshot 2023-10-10 at 16 57 58

Docs on mobile:

IMG_1883

Adding will-change: filter seems to fix the issue with the Excalidraw diagrams on dark mode and recent Safari versions.
This change was also tested on Firefox and Chrome and it didn't break the diagrams in those browsers.

This fixes #3497.
@willmcgugan
Copy link
Collaborator

Awesome. Will deploy this now.

@willmcgugan willmcgugan merged commit e1c3800 into main Oct 10, 2023
21 checks passed
@willmcgugan willmcgugan deleted the excalidraw-diagrams-css-filter branch October 10, 2023 16:13
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.

Excalidraw diagrams don't look good in dark mode on Safari
2 participants