Skip to:
Content

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#244 closed defect (bug) (fixed)

Cropping via the "Change Avatar" Screen causes cropping area jumping

Reported by: apeatling Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

It seems as though the offset is wrong, as when you drag from the bottom right to past the top left, the area starts to resize correctly.

I've tried to debug this, set containers to position:relative but it doesn't seem to fix the problem.

The cropping for uploading new avatars on signup works correctly.

Change History (4)

comment:1 apeatling5 years ago

  • Milestone set to Core 1.0

comment:2 apeatling5 years ago

So this is something to do with the position of the image from the left hand side. The offset is not being calculated correctly, taking into account the amount of pixels from the left the image is offset.

If you turn off the CSS and the image is return flush to the left hand side of the browser window, the cropping works correctly.

comment:3 apeatling5 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed, used a negative margin and positive padding on the cropper image to offset the difference.

comment:4 anonymous5 years ago

  • Milestone Core 1.0 deleted

Milestone Core 1.0 deleted

Note: See TracTickets for help on using tickets.