menu

Reakit

Toolkit for building accessible rich web apps with React

Channels
Team
Posts
Members
Info
·14d·Pinned# General

Now you can ask questions directly on GitHub

https://github.com/reakit/reakit/discussions

thumbsup
1
message-simple
0

How to change color of TooltipArrow?

I have this component and I can see that it renders this svg: with classes stroke and fill. Is it possible to change color of the TooltipArrow without defining those CSS classes? …

thumbsup
0
message-simple
2

Release schedule

I'm expecting the fix of https://github.com/reakit/reakit/pull/717 to be released to use the Disclosure component. Is there any release scheduled, is it based on demand? If there's no problem, can you release a patch with the latest code? Thanks in advance! Great project ✌️

thumbsup
0
message-simple
2

Box 'as' prop throwing TypeScript error when abstracting component

Hello, I'm attempting to abstract the Box component as the basis for several components (with theme-ui), for example, a Button component. When I add the as prop to my newly abstract Box component, TypeScript doesn't recognize it. I've also tried creating a custom interface by…

thumbsup
0
message-simple
2

Struggling to make the Tooltip "Abstracting" example work with Typescript.

Hey folks! I'm trying to make the Abstracting example work with TS but I'm unsure how to get the types right. If I type children as ReactNode, it tells me ref does not exist? And the cloneElement call gives me this:

thumbsup
0
message-simple
1

Is it possible to combine single control to have Tooltip and Popover?

thumbsup
0
message-simple
2

Using MenuItem with next.js Link component

I'm trying to create a dropdown menu with a list of links (user preferences, settings, etc). I can't get the keyboard behaviour working as expected. Using the up/down arrows scrolls the page while the menu is open. This is the gist of the code: The Link component wraps next.js'…

thumbsup
0
message-simple
7

Any plans to make a React Native version of reakit?

I am really fond of the way reakit offers composition of components and hooks. And I am pretty sure it could be applied to React Native platform as well. So my question is was there any plans to prepare RN support in experimental release maybe?

thumbsup
0
message-simple
1

Why is TabPanel focusable? Can I make it not be?

I'm using TabList, Tab, and TabPanel, and they're working quite nicely. One thing that seems non-ideal to me, though, is that TabPanels appear to take focus. I have actionable components in my TabPanel, and I'd prefer to have the first such component take focus, instead of the…

thumbsup
0
message-simple
11

Warning message outputed while using tooltip with nextjs

Hi! I got below warning message when using tooltip in nextjs: Warning: Expected server HTML to contain a matching <div> in <div>. I created a codesandbox here: …

thumbsup
0
message-simple
2