Are scripts and overflow incompatible with dynamic height?« Back to Questions List
Hi, I'm working on exporting a responsive homepage from Adobe XD > HTML. My responsive artboards are at 1920, 1440, 850, and 450, and are all different heights. The export is correct when I use dynamic height. However, my design requires adding some Javascript for a responsive menu and using overflow to make the background flush with the edge. When I try to add either, it breaks and makes each screen size the same standard height, adding a bunch of unwanted whitespace to the bottom of the page. I want all three things work at the same time—dynamic height, overflow, and a script tag—but I can't get them to. How do I fix this? |
Do you have the right answer? If you do other users will benefit from your contribution, share your knowledge with the community!
you should add your scripts inside ${code} or ${raw} tag depending on your requirements. all scripts and styles should be placed in the ${global} artboard/frame. ${code} tag will add a container around the script, while ${raw} tag will add code directly to the output page. |
Share Your Knowledge!
Contribute to the community and help other users to benefit from your answer with experience and knowledge.