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

Focus class is not removed on listitem on unselection when draggable is active

XMLWordPrintable

    • ZK 8.0.1 S3

      When listitem has the draggable property, when user unselects the items the focus class, z-listitem-focus, is not removed from the DOM.
      Please check in the this zk fiddle: http://zkfiddle.org/sample/480svq/1-Bug-listitem-focus-is-not-removed-on-unselection
      In attachment is one video showing the problem.

      steps to reproduce

      1. run the example
      2. click the check box (instead of a listitem itself) of an item to select item 0 ~ item 3
      3. click the check box (instead of a listitem itself) of an item to deselect item 0 ~ item 3

      result

      open the developer tool to inspect those deselected 4 .z-listitem, they all have z-listitem-focus.

            DevChu DevChu
            eclipse2 eclipse2
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m