Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2472

zk_download iframe creates scrollbar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.1
    • Fix Version/s: 7.0.4
    • Component/s: None
    • Environment:

      Server operating system is CentOS ZK version is 7.0.1
      Client operating system is Fedora Browser is Firefox & Chrome has the same effect

      Description

      If a user downloads anything by code below

      Filedownload.save(new AMedia(destFile, "xlsx", null), getImportExportDataSourceName());

      an iframe with id zk_download is created. But this iframe is created with visibility:hidden property.
      It should be display:none IFrame is never lost. Stays there after download or during download. And creates an annoying scrollbar on the right. I have shared both firefox and chrome screen-shots.

        Attachments

        1. chrome.png
          chrome.png
          125 kB
        2. firefox.png
          firefox.png
          140 kB

          Activity

            People

            Assignee:
            hanhsu hanhsu
            Reporter:
            ErayGursoy ErayGursoy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: