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

fix: replace reach tabs lib with radix tabs lib #118

Merged

Conversation

ryanwolhuter
Copy link
Contributor

Summary

Reach UI was the go-to accessible react component library for the last several years. Unfortunately, it is no longer actively maintained.

It's not critical that we replace all our dependencies on their components right away, but I've been taking the opportunity to swap out reach ui for alternatives when I encounter bugs in those components (like in the Panel component for example).

In this case, the Tabs used in the panel for the vote results and vote details had an issue where it would set cursor: pointer on all of its children even though those children were not interactive — hence the bug reported where the chart shows a hand cursor when it is not interactive.

I do intend to add interactivity in the future, but for now I just wanted to disable the pointer cursor. Reach UI does not allow this unfortunately, and so I have replaced that Tabs component with one from my new preferred accessible UI library radix-ui.

@linear
Copy link

linear bot commented Dec 2, 2022

@vercel
Copy link

vercel bot commented Dec 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
voter-dapp-v2 ✅ Ready (Inspect) Visit Preview Dec 2, 2022 at 11:02AM (UTC)

@ryanwolhuter ryanwolhuter merged commit eb2ab8e into master Dec 2, 2022
@ryanwolhuter ryanwolhuter deleted the ryan/uma-800-vote-history-donut-chart-should-be branch December 2, 2022 12:59
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.

2 participants