Skip to content

Fix Charts text backdrop on Safari - #1355

Merged
tannerlinsley merged 1 commit into
mainfrom
taren/charts-safari-backdrop
Oct 6, 2026
Merged

tannerlinsley merged 1 commit into
mainfrom
taren/charts-safari-backdrop

Conversation

@tannerlinsley

Copy link
Copy Markdown
Member

Safari can render the text backdrop as a hard-edged blob because the canvas blur used to feather its mask is unavailable. Detect canvas filter support before generating the mask and use a feathered radial white or black backdrop when it is missing.

Browsers with canvas blur support keep the existing text-shaped backdrop. Verified both rendering paths on a mobile viewport by disabling canvas filter support, and ran the required checks.

@changeset-bot

changeset-bot Bot commented Oct 6, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f35578f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

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

@tannerlinsley
tannerlinsley merged commit 862ccc3 into main Oct 6, 2026
6 of 7 checks passed
@tannerlinsley
tannerlinsley deleted the taren/charts-safari-backdrop branch October 6, 2026 23:02
@coderabbitai

coderabbitai Bot commented Oct 6, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a815a452-5f89-42ee-94fe-b8015144659e
📥 Commits

Reviewing files that changed from the base of the PR and between e36d5f3 and f35578f.

📒 Files selected for processing (1)
  • src/components/landing/ChartsTextBackdrop.tsx
 __________________________
< // TODO: Find more bugs. >
 --------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant