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

colorbox palette/picker input: copy/paste/home/end not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.5.1.2
    • Fix Version/s: 8.5.2
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.5.2 S1, ZK 8.5.2 S2

      Description

      Steps to Reproduce

      <colorbox/>
      
      1. open the popup (colorpalette or colorpicker)
      2. focus the hex input field
      3. try to copy/paste/home/end

      Current Result

      most keys besides the allowed characters #0-9A-F have no effect on both inputs
      copy/paste only possible via mouse rightclick

      Expected Result

      preserve default behavior of input control

      Root Cause

      doKeyDown stops most key events

      Workaround

      overide the doKetDown_ function to allow default key behavior
      handle input sanitation in an onInput event handler
      see colorbox-paste.zul

        Activity

        Hide
        Anonymous added a comment -

        Fixed since 2018/06/28

        Show
        Anonymous added a comment - Fixed since 2018/06/28

          People

          • Assignee:
            CharlesQiu CharlesQiu
            Reporter:
            cor3000 cor3000
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 4 hours
              4h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 4 hours
              4h

                Agile