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

TRichSelect - Buttons in DropdownUp and DropdownDown do not register click in Safari #238

Open
Jetro223 opened this issue Jan 15, 2022 · 0 comments

Comments

@Jetro223
Copy link

Jetro223 commented Jan 15, 2022

I found a strange bug (Safari only, tested in 14.1.2).

When you have a button in the dropdownUp or dropdownDown slot the select disappears before the button click is registered.

Repro: https://www.vue-tailwind.com/docs/rich-select/#dropdowndown-slot

  1. Enter a value
  2. Click fast => new value is inserted in select
  3. Click slowly (mousedown, wait, mouseup) => select is closed, new value is not inserted

Workaround => use the mousedown event or add @mousedown.prevent to the component

Maybe there is a better solution/ fix for this issue?

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

1 participant