headless-ui Questions
2
I'm building a sidebar with the Transition and Dialog Headless UI components.
Transition docs
When I break out the code that's passed between <Transition.Child> to it's own component. I get t...
Disserve asked 20/10, 2022 at 17:16
3
Solved
I'm making a react app with tailwindcss, and I want to make a hidden mobile navbar and when the user click on the icon it appears.
So I want to make a transition while the menu appears.
I use:
Rea...
Desmid asked 14/7, 2022 at 14:55
3
Solved
I am currently developing a UI Library using React, Tailwind, HeadlessUI and Storybook.
Once I finished the components, and made sure that they worked in Storybook and on a react dev server, I buil...
Curvet asked 28/7, 2022 at 12:44
4
I have this piece of code where I am trying to wire up the Combobox Component from Headless UI with react-hook-form. Whenever I try to enter a different value and select a different option it gives...
Cyprinodont asked 10/5, 2023 at 21:26
6
I've just started using Headless UI. I'm trying to use the Disclosure component from Headless UI to render my job experiences.
Basically, I need "n" number of Disclosures which will be dy...
Volnay asked 5/5, 2022 at 17:52
4
can you guys help me with this problem I am having with first-child and last-child while using tailwind css. I have been debugging but cannot see the problem.
Here is what the radio buttons look li...
Corrientes asked 5/9, 2022 at 12:43
1
In my Jest tests, I'd like to mock the animations of the Transition and Dialog components of @headlessui/react to speed up my tests. I currently just resort to await screen.findBy's to wait for the...
Vigilant asked 22/12, 2021 at 13:35
12
my problem is simple ... I'm using HeadlessUI's Dialog component for React in my app and when I click out of modal I wish it wouldn't close.
In the documentation, there is the Dialog. Overlay param...
Eleanoraeleanore asked 11/10, 2021 at 13:25
2
Solved
How do i change the internal state of the Popover with a function outside the component: Like the openPopover function i created below.
const openPopover = () => {
setPopoverOpen(true) // Examp...
Eleonoreleonora asked 13/12, 2022 at 6:9
1
Solved
I build an app in React and I have this dropdown from Tailwind UI which is opened on click events and I want to make it open on mouse hover too.
<Menu as="div" className="relative...
Dumond asked 4/12, 2022 at 19:58
3
Solved
To make the accordion component with Headless UI, I have used Disclosure component. But I have a problem to control the collapse/expand state for it's siblings.
So, I want to close other siblings w...
Rutan asked 14/5, 2022 at 5:13
3
Solved
I'm working on this component library that uses tsdx, all of the components work fine except for this one. It's a dialog that uses the @headlessui/react lib, and it's Dialog component. It's exporte...
Nagel asked 30/9, 2022 at 14:33
1
Solved
I'm struggling to get a Headless UI Listbox implementation working successfully with Formik. After reading all the docs and scouring StackOverflow, I'm yet to find an answer.
I can get the Listbox ...
Satirical asked 6/3, 2022 at 23:8
1
Solved
I'm having trouble opening one of the 2 Disclosure.
Attached below is what trying to achieve this and when I add the static prop it keeps it open indefinitely.
Drifter asked 8/12, 2021 at 11:37
1
© 2022 - 2025 — McMap. All rights reserved.