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

opening a popup shrinks parent iframe's width

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Later
    • Resolution: Won't Fix
    • Affects Version/s: 8.0.5
    • Fix Version/s: 8.5.2
    • Component/s: None
    • Security Level: Jimmy
    • Labels:

      Description

      Steps to Reproduce

      1. load t4813.html with IE11 compatibility view
      2. click the combobox button to open a popup

      Current Result

      iframe width shrinks each time when you open and close the popup

      Expected Result

      iframe width doesn't change

      Debug Info

      1. it happens when iframe width is not 100% or a fixed size.
      1.1 The smaller percentage you specify, the more IE shrinks an iframe's width. For example, if you specify 98%, it shrinks a little a time, if you specify 90%, it shrinks more each time.
      1.2 IE event shrinks the width when loading the page (before you open a popup). When zul page updates, e.g. "processing" appears and disappears, IE also shrinks the width.
      2. iframes created by zk popup are not removed totally.
      3. the iframe in parent HTML is not accessible and cannot be modified in a customer's use case
      4. a datebox popup also causes the same issue.

      Workaround

      1. set-iframe-width.js
        0.6 kB
        hawk
      2. t4813.html
        0.1 kB
        hawk
      3. t4813-combobox.zul
        0.1 kB
        hawk
      1. Document mode ie7.png
        6 kB

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            CharlesQiu CharlesQiu
            Reporter:
            hawk hawk
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1 day
              1d
              Remaining:
              Time Spent - 3 hours Remaining Estimate - 5 hours
              5h
              Logged:
              Time Spent - 3 hours Remaining Estimate - 5 hours
              3h