Skip to content

Refactored components to modern Vue syntax #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 71 commits into from
Apr 19, 2025

Conversation

lukas-pierce
Copy link
Collaborator

@lukas-pierce lukas-pierce commented Apr 18, 2025

  • Refactored EyeIcon.vue, Input.vue, and Media.vue to use the modern Vue 3 composition style

  • Refactored Autocomplete.vue and fixed a couple of issues:

    • Fixed double keyboard event handling for ArrowUp, ArrowDown, and Enter
      (caused by $attrs binding inside v-input, resolved using .stopPropagation)
    • Implemented TODO: close dropdown on outside click
  • Used defineModel() in Input.vue and Autocomplete.vue to enable efficient bidirectional binding without relying on watchers.

@lukas-pierce lukas-pierce changed the title Components vue composition api Refactored components to modern Vue syntax Apr 18, 2025
@skaptox skaptox merged commit 5ef3a43 into master Apr 19, 2025
1 check passed
@skaptox skaptox deleted the components-vue-composition-api branch April 19, 2025 07:55
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.

2 participants