Hi, I tried to control the width of a Drawer with both Function and Conditional Style from an App variable, but it does not work. Is this a known issue?
Hi!
To help us debug this issue, could you share more details/screenshots about your setup? ![]()
I tried to replicate your setup but wasn’t able to reproduce the issue. In my testing, I noticed that the condition only became active after refreshing the site. Could you share more details about how you’re testing this condition?
I look at the real-time App value in the DevTool and I can see the value - but it seems like it is ignored. I also loose some connections when copying GUI blocks so maybe it is something that is wrong with my solution only.
When testing with different devices, do you use google chrome DevTools (inspect)?
Yes, but same result in Edge as well. I also used other formulas like testing towards device orientation (Landscape/Portrait).
It’s a bit hard to determine the issue without seeing it in Create. Would you be able to record a short screen video, showing the setup in Create and what happens to the app variable when you test it on different devices?
You can send the video to my mail: emma@appfarm.io
Found the solution internally: The width and conditional styling needed to be applied to a container within the drawer, rather than to the drawer itself.

