Feature Request: Being able to detect mobile / desktop #1729
sov-brandstaetter
started this conversation in
Feedback: UI Components
Replies: 1 comment
-
👋 we have some props that take a responsive For your example you could do the following:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As far as I found out there is currently no way to detect the current screen size from a checkout ui extension.
I want to use a different layout for mobile and desktop, in my case I want to use a grid with two columns on desktop and only one column / stacked on mobile.
Others might need it more granular like XS, SM, MD, LG, but in my case it would be enough to know if its mobile or not.
Would be great if you could add this feature
Thanks in advance and best regards
Beta Was this translation helpful? Give feedback.
All reactions