Add hideOnInput option and change default behaviour

Update readme
Minor lint fixes