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

Limitations when using DatePicker inside SideDrawer or some container #288

Open
abdullahtariq1171 opened this issue Nov 8, 2024 · 0 comments

Comments

@abdullahtariq1171
Copy link

abdullahtariq1171 commented Nov 8, 2024

Hello, Thank you for building this awesome package. I love the smooth transitions ❤️

I wanted to point out a limitation and pitch a solutions. When we're using Datepicker within a container lets say SideDrawer in my case, its css remains responsive to window's media query. See this 👇

abdullah-11-08-2024 at 5  52 09

Solution:

This could be solved if we implement styles using CSS Container Queries.

Here is proof of concept of the proposed solution.

CSS Container Queries have 92+ coverage on can I use.

TailwindCSS also supports this through a plugin.

If you're open to it, I can have an attempt at this. Let me know what you think. Thanks

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

No branches or pull requests

1 participant