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

Feature: Container-Queries support / Stylis update #853

Open
MarcelKaemper opened this issue Dec 4, 2024 · 2 comments
Open

Feature: Container-Queries support / Stylis update #853

MarcelKaemper opened this issue Dec 4, 2024 · 2 comments

Comments

@MarcelKaemper
Copy link

Do you want to request a feature or report a bug?

Request a feature
Support for container queries

What is the current behavior?

Container queries are ignored by styledjsx.

What is the expected behavior?

I would like to use container queries in my next.js (14.2.18) project, which is based on styledjsx.
Using container queries in styledjsx's current state seems to be impossible. That forces me to either use conventional style tags or fall back to some other react css library.
#833 indicates that a stylis update might be "all" it needs to add container query support to styledjsx.

Are there any plans to update stylis / support container queries in the future?

Environment (include versions)

  • Version of Next.js: 14.2.18
  • Browser: Chrome
  • OS: Windows 10
@lolafkok
Copy link

lolafkok commented Dec 4, 2024

Yesterday I was searching for a solution for exactly the same problem. (find none)
Everyone is happily using container-queries as "new" CSS feature. But the "bleeding edge framework" does not support it... Seems weird.. 😞

@minzig
Copy link

minzig commented Dec 4, 2024

Yeah, why is that not supported yet?

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

3 participants