Are scripts and overflow incompatible with dynamic height?« Back to Questions List


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?

Asked by 8man
Added February 24, 2023 10:08 pm

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.
Answered On March 7, 2023 4:11 pm #
Looking for another answer? View other questions in HTML Responsive Screen or get premium support for guaranteed results.
Asked by 8man
1 answer
Last Answered 1 year ago by Support

Recent Answers

asked by admin
asked by anup-sarkar
asked by originalife07
asked by yudhis
[+] View All Recent Questions

Share Your Knowledge!

Contribute to the community and help other users to benefit from your answer with experience and knowledge.