Skip to content

Conversation

@Melvynx
Copy link

@Melvynx Melvynx commented Jan 18, 2026

Summary

  • Convert ThemeTrigger to use React.forwardRef to properly work with Radix UI's PopoverTrigger asChild pattern
  • The dropdown wasn't appearing because the component didn't forward refs, preventing Radix from attaching click handlers

Test plan

  • Go to /workbench
  • Click on the theme toggle (showing theme name with color squares)
  • Verify the dropdown appears

Convert ThemeTrigger to use React.forwardRef to properly work with
Radix UI's PopoverTrigger asChild pattern, which requires child
components to forward refs for click handlers to work.
@vercel
Copy link
Contributor

vercel bot commented Jan 18, 2026

@Melvynx is attempting to deploy a commit to the Tinte Team on Vercel.

A member of the Team first needs to authorize it.

@Melvynx
Copy link
Author

Melvynx commented Jan 18, 2026

trying to fix this button that doesn't work anymore :
CleanShot 2026-01-18 at 10 00 30@2x

@vercel
Copy link
Contributor

vercel bot commented Jan 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
tinte Ready Ready Preview, Comment Jan 18, 2026 6:30pm

Request Review

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