yuche / vue-strap

Bootstrap components built with Vue.js
http://yuche.github.io/vue-strap/
MIT License
4.71k stars 935 forks source link

@click -> @focus to handle keyboard users (tab) #517

Closed vesper8 closed 6 years ago

vesper8 commented 6 years ago

I find this behaviour is preferable to the current default. Otherwise I've had instances where people use tab to fill out a form.. and once they tab into the datepicker field since the calendar doesn't appear they start typing.. and still there is nothing to catch this unwanted behaviour or encourage the user to click on the field in order to make the picker appear. It leads to confused users and failed form submittals a plenty