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

cropper component ignores inital x,y=0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.6.2
    • 8.6.1
    • Components
    • Security Level: Jimmy
    • ZK 8.6.2 S1
    • None

      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

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

              Created:
              Updated:
              Resolved:

                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