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

[Bug]: DateRangePicker range dropdown missing hover styles #883

Open
adamhenson opened this issue Dec 26, 2023 · 2 comments
Open

[Bug]: DateRangePicker range dropdown missing hover styles #883

adamhenson opened this issue Dec 26, 2023 · 2 comments
Labels
Type: Bug Confirmed bug, something is not working as intended

Comments

@adamhenson
Copy link
Contributor

adamhenson commented Dec 26, 2023

Disclaimer: This isn't necessarily a bug, but perhaps an opportunity for documentation. See solution at bottom.

Tremor Version

3.3.2

Link to minimal reproduction

NA

Steps to reproduce

  1. Import DateRangePicker per docs.

What is expected?

The range dropdown list should have hover styles, mirroring the Storybook example. Note the existence of styles in the screenshot starting with ui-active:...

Screenshot 2023-12-26 at 12 12 34 PM

What is actually happening?

The range dropdown list does not have hover styles. Styles applied in the above screenshot with ui-active:... are not applied in actuality.

What browsers are you seeing the problem on?

All

Any additional comments?

Solution

I had to install a new dependency @headlessui/tailwindcss and add the below plugin to Tailwind CSS config.

plugins: [require('@headlessui/tailwindcss')],

I'm more reporting that this is an opportunity to add documentation to callout this dependency, unless I'm missing something.

@adamhenson adamhenson changed the title [Bug]: DateRangePicker missing hover styles [Bug]: DateRangePicker range dropdown missing hover styles Dec 26, 2023
@severinlandolt
Copy link
Member

Thanks @adamhenson! Just at the right time, was about to release a Tremor CLI update. Will fix this soon!

@severinlandolt severinlandolt added the Type: Bug Confirmed bug, something is not working as intended label Dec 26, 2023
@adamhenson
Copy link
Contributor Author

🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Confirmed bug, something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants