Google Apps脚本HTML服务中的JQuery UI非常慢

Kri*_*ofB 6 google-apps-script

我正在使用JQuery UI尝试使用Google Apps脚本HTML服务.

我创建了一个带有日期字段的简单测试用例,但是datepicker小部件的响应能力非常低.datepicker至少需要3秒才能显示出来.导航到下个月也需要3秒.

有什么办法可以改善JQuery UI的性能吗?

这是HTML文件:

<html>
  <head>
    <link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/themes/smoothness/jquery-ui.css" rel="Stylesheet" />
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/ui/1.8.23/jquery-ui.min.js"></script>
    <script>
      $(document).ready(function() {
        $('#date').datepicker();
      });
    </script>
  </head>

  <body>
    <input type="text" name="date" id="date">
  </body>
</html>
Run Code Online (Sandbox Code Playgroud)

GS的电话:

function doGet() {
  return HtmlService.createTemplateFromFile('test').evaluate();
}
Run Code Online (Sandbox Code Playgroud)

控制台日志显示:

Node not editable; no action performed. es53-taming-frame.opt.js:419
ode not editable; no action performed. es53-taming-frame.opt.js:419
bad value `fixed` for CSS property position es53-taming-frame.opt.js:419
https://ssl.gstatic.com/caja/4969/es53-taming-frame.opt.js?debug=1
Run Code Online (Sandbox Code Playgroud)

Cor*_*y G 2

这是一个已知问题,我们正在努力加快速度。