Skip to content

Fix note-popup UI issues#12

Merged
kookyleo merged 2 commits intomainfrom
fix/node-card-bug
Oct 28, 2025
Merged

Fix note-popup UI issues#12
kookyleo merged 2 commits intomainfrom
fix/node-card-bug

Conversation

@kookyleo
Copy link
Owner

Summary

  • Fix note-popup cursor style (remove draggable cursor)
  • Add click-outside-to-close functionality for note-popup
  • Ensure popup closes when edit button is clicked

Changes

  1. Remove draggable cursor: Changed cursor: move to cursor: default in .note-popup CSS
  2. Click outside to close: Added event listener to close popup when clicking outside the popup or highlight element
  3. Close on edit: Popup now closes properly when the edit button is clicked, allowing the modal to receive focus correctly

Test plan

  • Verify cursor shows default style when hovering over note-popup
  • Click outside the popup to verify it closes
  • Click edit button to verify popup closes and input receives focus
  • Build passes successfully

- Change cursor from move to default for note-popup
- Add click-outside-to-close functionality for note-popup
- Ensure popup closes when edit button is clicked
@kookyleo kookyleo merged commit 265f61f into main Oct 28, 2025
4 checks passed
@kookyleo kookyleo deleted the fix/node-card-bug branch October 28, 2025 16:43
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.

1 participant