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

the components can't focus and the ropdown can't close when clicking 'Sorry, no matching options' #648

Closed
hellolex opened this issue Sep 17, 2018 · 7 comments
Labels

Comments

@hellolex
Copy link

Is there any solution?

bandicam 2018-09-17 16-48-42-908

@hellolex hellolex changed the title the components lose focus when clicking 'Sorry, no matching options' the components can't focus and the ropdown can't close when clicking 'Sorry, no matching options' Sep 17, 2018
@sagalbot sagalbot added the bug label Sep 17, 2018
@sagalbot sagalbot added this to the 2.5.2 milestone Sep 17, 2018
@Pyro979
Copy link
Contributor

Pyro979 commented Sep 26, 2018

This is actually reproducible on one of the examples - Vue Select - Ajax

Pyro979 added a commit to Pyro979/vue-select that referenced this issue Sep 26, 2018
The components can't focus and the dropdown can't close when clicking 'Sorry, no matching options' 
sagalbot#648
@Pyro979
Copy link
Contributor

Pyro979 commented Sep 26, 2018

Proposed PR: #664

Meanwhile, if someone is having this issue in production - wrap the content of the slot with a div and prevent the click there.

<template slot="no-options">
        <div @mousedown.stop="">
          Begin typing to search (at least 3 letters)
        </div>
      </template>

@DreaMinder
Copy link

this happens not only with 'no-options'. If you click on scrollbar, dropdown will stuck too.

@Tusko
Copy link

Tusko commented Dec 3, 2018

@Pyro979 still doesn't work

sagalbot pushed a commit that referenced this issue Dec 5, 2018
The components can't focus and the dropdown can't close when clicking 'Sorry, no matching options' 
#648
@sagalbot sagalbot removed this from the 2.5.2 milestone Feb 9, 2019
@sagalbot
Copy link
Owner

sagalbot commented Feb 9, 2019

Fixed by #703

@sagalbot sagalbot closed this as completed Feb 9, 2019
@Pyro979
Copy link
Contributor

Pyro979 commented Feb 11, 2019

@sagalbot 👍 Do you know when this is going to make it into a release?

@sagalbot
Copy link
Owner

@Pyro979 hoping to push out 3.0 by the end of the week. It's a major bump, but the breaking changes should be pretty minimal. So far the only breaking change will be that CSS is separate from the JS build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants