Skip to content
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

[Feature]: Consider switching tabs on mouse button release instead of pressing down #842

Open
1 of 2 tasks
DamianGlowala opened this issue Apr 10, 2024 · 2 comments
Open
1 of 2 tasks

Comments

@DamianGlowala
Copy link
Contributor

DamianGlowala commented Apr 10, 2024

Describe the feature

Other popular UI frameworks follow this approach, and somehow it feels more natural to switch tabs only when we release the mouse button instead of acting immediately.

https://vuetifyjs.com/en/components/tabs/#usage
https://headlessui.com/vue/tabs
https://primevue.org/tabview/

Additional information

  • I intend to submit a PR for this feature.
  • I have already implemented and/or tested this feature.
@remonke
Copy link
Contributor

remonke commented Apr 15, 2024

why not simply @click?

@DamianGlowala
Copy link
Contributor Author

I've been playing already with different event handlers and we surely don't have to stick to the current implementation :) The key is to find a combination which will provide good UX and accessibility.

@DamianGlowala DamianGlowala changed the title [Feature]: Consider switching tabs on @mouseup.left instead of @mousedown.left [Feature]: Consider switching tabs on mouse button release instead of pressing down May 17, 2024
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

No branches or pull requests

2 participants