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

org.zkoss.zul.progressbox.position doesn't take effect in an embedded zul

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 10.0.0
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      <button label="long operation"  onClick="org.zkoss.lang.Threads.sleep(3000)"/>
      

      zk.xml

          <library-property>
              <name>org.zkoss.zul.progressbox.position</name>
              <value>center, center</value>
          </library-property>
      
      1. embeds the zul with zk js embedded API
      2. click the button to show "processing" message
        (reproduce it with https://github.com/zkoss-demo/zkembedded-demo/)

      Current Result

      on the left, top corner (as the default setting)

      Expected Result

      at the center of the page because of the specified library property

      Debug Information

      • if you visit the zul directly (not from the page that embeds the zul), the processing message displays
      • need to check other similar library properties that could also fails under embedded case

      Workaround

      .z-loading

      { left: 50% !important; top: 50% !important; transform: translate(-50%, -50%); }

            Unassigned Unassigned
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: