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

Add autocomplete improvements #587

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add autocomplete improvements #587

wants to merge 2 commits into from

Commits on Apr 23, 2019

  1. Add dropdown functionality when hover or focus

    I don't understand the functionality of the .on-focus class. While the docs say 'You may add the is-focused class to form-autocomplete-input to make it appear as focus state' it actually only manages shadow and border color.
    
    I added an .autocomplete-dropdown class that hides the menu and shows it on hover or on focus. There is also a translate reset to prevent .menu hiding when mouse hovers the gap between .form-autocmplete-input and .menu
    Marc Vilella authored Apr 23, 2019
    Configuration menu
    Copy the full SHA
    b71dfaa View commit details
    Browse the repository at this point in the history
  2. Prevent chips growing when oneline

    Chips keep their size and don't grow when autocomplete is set to oneline
    Marc Vilella authored Apr 23, 2019
    Configuration menu
    Copy the full SHA
    7b9fd2b View commit details
    Browse the repository at this point in the history