Declined
Last Updated: 21 Dec 2022 10:44 by ADMIN
Nicolas
Created on: 15 Dec 2022 09:35
Category: MediaQuery
Type: Feature Request
1
Responsiveness - Media Queries -> CSS Container Queries

Hi

We come limitations with the Media Queries provieded by Telerik.

As we are using a NavBar which opens and closes at a certain point.  It is realy hard to use the normal queries to make an Application Responsive. We need to kind of calculate the Breakpoints.

This makes adding responsiveness realy hard.

Css provides Container Queries, so the available space can  depend on the context where a component appears.

If the ContainerQuery Component could be implemented would be amazing.

 

Thank you and kind regards

Nicolas

1 comment
ADMIN
Dimo
Posted on: 21 Dec 2022 10:44

Hi Nicolas,

Our MediaQuery component relies on the change event of the MediaQueryList.

For the time being, web standards don't seem to provide similar browser events for CSS container query changes. I only see this one, which is experimental and insufficient. As a result, a theoretical ContainerQuery component will not be able to do its job.

Of course, this may change in the future.

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.