Giter VIP home page Giter VIP logo

Comments (4)

lordfriend avatar lordfriend commented on June 26, 2024

Do you mean live-search feature?
When you edit field. the filtered options list also changed. it may change from ten options to one option. Always highlight the first is a safe way to avoid unexpected result.

from nya-bootstrap-select.

piernik avatar piernik commented on June 26, 2024

Yes live-search.
I mean after focus - clicking select. options are opened and first option is always highlighted. I think highlighted should be selected option - that is third.

from nya-bootstrap-select.

lordfriend avatar lordfriend commented on June 26, 2024

You're right. This may be confusion. but it make sense. mouse hover has different effect with active highlight. The active highlight represents a selection of current matched element. because we don't want the input field lose focus when using arrow up and down key.
That the way, which Bootstrap-select feature to solve this issue.
http://silviomoreto.github.io/bootstrap-select/

I just follow it.

from nya-bootstrap-select.

piernik avatar piernik commented on June 26, 2024

Ok, I see Your point but there is a bug.
Not in multiple click enter to open dropdown (or open with click). with arrows go to third option and press enter to select it. Dropdown closes.
Now press enter one more time - dropdown openes and You have highlighted first and third option - it remembers last state and it should be forgotten.

from nya-bootstrap-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.