GithubHelp home page GithubHelp logo

Comments (6)

gnbm avatar gnbm commented on June 24, 2024 1

Fixed in release v1.0.41

from virtual-select.

rid9 avatar rid9 commented on June 24, 2024 1

@gnbm, v1.0.41 did fix the issue, thank you, but it's a bit inconsistent.

The dropdown does close when you use Tab, but only if you have a search box or multiple select. If you have none of these, then it doesn't close, but the focus is trapped inside the dropdown, so that works as well.

from virtual-select.

abenhamdine avatar abenhamdine commented on June 24, 2024

Actually I can reproduce this behaviour only for the first select in the demo, without searchbox.
If you unfocus with Tab in the following examples, with searchbox, it works

from virtual-select.

rid9 avatar rid9 commented on June 24, 2024

Actually I can reproduce this behaviour only for the first select in the demo, without searchbox. If you unfocus with Tab in the following examples, with searchbox, it works

Indeed, if you open a select with search, pressing Tab will close the dropdown as expected. This only happens if the search bar is enabled though.

For example, if you go to the Multiple select without search example, you can Tab to the next two examples and open a total of three dropdowns at the same time. Also, if you press Tab on the select with search and arrive at the next select, which doesn't have search enabled, you can still open it, and now you have four dropdowns open at the same time.

from virtual-select.

gnbm avatar gnbm commented on June 24, 2024

@joserio Does your PR fixes this as well?

from virtual-select.

gnbm avatar gnbm commented on June 24, 2024

@rid9 / @abenhamdine could you please check if this was properly fixed in release v1.0.41

from virtual-select.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.