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

[3.6] Error box not shown when error field is scrolled out

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 3.6.4
    • Components
    • None

      https://sourceforge.net/tracker/?func=detail&aid=3151028&group_id=152762&atid=785191

      Try the example bellow in the ZK sandbox URL: http://www.zkoss.org/zksandbox/userguide/#f2 Make the browser window small to show only a few lines of the form (grid), scroll down and press "Save" button. The error box is not show even when the user scrolls back to the top of the form. This behaviour is the same in IE8 and FF3.6.

      However, when you do it in the ZK sandbox URL: http://www.zkoss.org/zksandbox/userguide/ then the error box works as expected. It scrolls nicely with the form.
      This is for the current version of ZK 5.0.5.

      For the ZK 3.6.5 (which is of my main concern), this behaviour is just for IE8. The FF3.6 scrolls the error box nicely with the form. May you fix this bug especially for the ZK 3.6.5 and IE8?

      See also http://www.zkoss.org/forum/listComment/14895

      Thanks very much

      The test code:

      <grid fixedLayout="true">
      <columns>
      <column label="Type" width="150px" />
      <column label="Content" />
      </columns>
      <rows>
      <row>
      <label value="UserName" width="150px" />
      <textbox id="tb" width="150px" constraint="no empty"/>
      </row>
      <row>Something 1</row>
      <row>Something 2</row>
      <row>Something 3</row>
      <row>Something 4</row>
      <row>Something 5</row>
      <row>Something 6</row>
      <row>Something 7</row>
      <row>Something 8</row>
      <row>Something 9</row>
      <row>Something 10</row>
      <row>Something 11</row>
      <row>Something 12</row>
      <row>Something 13</row>
      <row>Something 14</row>
      <row>Something 15</row>
      <row>Something 16</row>
      <row>Something 17</row>
      <row>Something 18</row>
      <row>Something 19</row>
      <row>
      <button label="Save" onClick="tb.getValue();"/>
      </row>
      </rows>
      </grid>

            Hudson Hudson (Inactive)
            asukachen asukachen
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: