viewport setting is ignored

140 views
Skip to first unread message

Kosuke Takahashi

unread,
Sep 5, 2023, 4:38:57 AM9/5/23
to Google Apps Script Community
When deploying a web application in GAS and rendering HTML, the description would be as follows.

'''
let indexHtml = HtmlService.createTemplateFromFile('index');
  return indexHtml.evaluate()
         .setTitle('title')
         .setFaviconUrl('imageUrl')
         .addMetaTag('viewport', 'width=device-width, initial-scale=1');
'''

This metatag allows for responsive design support, but with recent updates, it seems that viewport is no longer working.
If anyone has any information, please let me know.

Translated with www.DeepL.com/Translator (free version)

Kosuke Takahashi

unread,
Sep 12, 2023, 12:25:54 AM9/12/23
to Google Apps Script Community
This case was registered on Google's IssueTracker.
https://issuetracker.google.com/298287665

In the comment of this Issue, there is a comment "A fix is in progress and will be rolling out with the next release.
I am wondering when the next release will be.

2023年9月5日火曜日 17:38:57 UTC+9 Kosuke Takahashi:
Reply all
Reply to author
Forward
0 new messages