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

Popups auto close with auto filled password fields at a page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Normal Normal
    • 8.5.2
    • 8.5.0
    • Security Level: Jimmy
    • None
    • reproduced with Chrome version 63

    • ZK 8.5.2 S1

      Steps to Reproduce

      Previously reported on github#1028

      <div hflex="1" vflex="1">
          <menubar>
              <menu label="X">
                  <menupopup>
                      <menuitem label="A"></menuitem>
                      <menuitem label="B"></menuitem>
                      <menuitem label="C"></menuitem>
                  </menupopup>
              </menu>
          </menubar>
          <textbox id="user"></textbox>
          <textbox id="password" type="password"></textbox>
      </div>
      

      Current Result

      when chrome autofills the username and password fields the menupopup automatically closes after opening

      Expected Result

      popups should stay open

      Debug Info

      also happens with other popup/context menues
      when debugging I noticed focus/keydown/keyup/blur events triggered on the password field

      Root Cause

      Workaround

      mentioned on github#1028 :

      <textbox id="password" type="password" xmlns:ca="client/attribute" ca:autocomplete="new-password"></textbox>
      

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 6 hours
                6h
                Remaining:
                Time Spent - 1 hour, 30 minutes Remaining Estimate - 4 hours, 30 minutes
                4h 30m
                Logged:
                Time Spent - 1 hour, 30 minutes Remaining Estimate - 4 hours, 30 minutes
                1h 30m