Support » Plugin: WP SmartCrop » Request: Cursor Performance Improvement

  • Resolved Jessie


    I really like this plugin, the only issue is that right now selecting the crop focal point is slow and janky – not because of the focal point cursor itself – but because of how it handles async cropping. It crops immediately on every change to the focal point cursor, and it seems when it finishes a request to crop, it re-renders the focal point cursor based on where it was when it sent that request. This leads to the cursor frequently jumping around, and sometimes even disappearing.

    It would be nice if instead of cropping immediately and updating the cursor, it only cropped once you closed the media window, or at least on a debounce of ~1s that doesn’t update the cursor.

    I imagine this issue doesn’t crop up (ha) when WP is natively generating the images because that’s fast enough, but in my case I use WP Smush so every crop has to make a request to a third party server which introduces a minimum latency of ~2s.

Viewing 1 replies (of 1 total)
  • Plugin Author


    Hi JProffitt71,

    Give a shot to the new version we just released. We’ve been working on a complete rewrite of that admin interface for a while, to address a few different weird edge cases like this. You should now be able to position and reposition the cursor as needed, without worrying about lag or unexpected jumpiness.

Viewing 1 replies (of 1 total)
  • The topic ‘Request: Cursor Performance Improvement’ is closed to new replies.