Skip to content

Conversation

@ad1tyayadav
Copy link
Contributor

Fixes #88

Summary

  • Removed hardcoded position offsets that were causing the modal to jump on drag start
  • Added position preservation to maintain modal width during drag

Changes

  • Modified ConfigModal.vue drag logic to capture actual current position without arbitrary offsets
  • Improved user experience: modal now stays in place when drag starts and moves smoothly with cursor

Before

Screen.Recording.2026-01-04.141905.mp4

After

Screen.Recording.2026-01-07.002232.mp4

Testing

  • ✅ Modal no longer jumps when starting to drag
  • ✅ Drag icon is easy to click without accidental movement
  • ✅ Modal drags smoothly from current position
  • ✅ Modal resets to center on close/reopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: The draggable card moved in right

1 participant