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

cropper component ignores inital x,y=0

    Details

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

      Description

      Steps to Reproduce

      specify an initial crop region at position 0,0

      <cropper w="250" h="250" x="0" y="0" .../>
      

      Current Result

      nothing is preselected

      Expected Result

      the region from 0, 0 to 250, 250 should be preselected

      Debug Info

      specifying other initial values for x/y work as expected
      e.g.

      <cropper w="250" h="250" x="1" y="1" .../>
      

      Root Cause

      Cropper.java ignores initial 0 values for x, y

      Workaround

        Attachments

          Activity

            People

            • Assignee:
              rudyhuang rudyhuang
              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:
                Time Spent - 2 hours Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - 2 hours Remaining Estimate - 2 hours
                2h