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

Popups auto close with auto filled password fields at a page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Invalid
    • Affects Version/s: 8.5.0
    • Fix Version/s: 8.5.2
    • Security Level: Jimmy
    • Labels:
      None
    • Environment:

      reproduced with Chrome version 63

    • gh.sprint.customfield.default.name:
      ZK 8.5.2 S1

      Description

      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>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                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