ppresume / community

Discussions, feedbacks, roadmaps, community.
59 stars 3 forks source link

bug: rendering delay when dragging items around in sections with array content #20

Closed xiaohanyu closed 11 months ago

xiaohanyu commented 11 months ago

Description

Right now when you drag items in sections with array-like content (such as Profiles section), the UI state has some kind of delay for state transfer.

To Reproduce

  1. Go to resume form page
  2. Create 2 profile items, item 1 filled with content, item 2 keep empty
  3. Drag item 2 to item 1 position

Actual Behavior

There's a 5 seconds delay for item 1 and item 2 to get correct state after dragging end

Expected Behavior

The UI state should be transferred and aligned immediately after dragging end.

[Optional] Screenshots

Desktop

https://github.com/ppresume/community/assets/1164623/5e5f0cf9-e8f1-475a-9b4e-423299bd9cdf

Smartphone

NA

Additional Context

NA

xiaohanyu commented 11 months ago

Fixed, tested on production.