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

Select doesn't open when clicking on placeholder text if the model is empty #87

Open
taltsi opened this issue Nov 19, 2017 · 0 comments

Comments

@taltsi
Copy link

taltsi commented Nov 19, 2017

The issue exists at least with the latest Firefox and Chrome, and can be seen e.g. at http://indrimuska.github.io/angular-selector/ with "RTL Support" demo when trying to open the select by clicking the placeholder text -- which is the intuitive way to do it.

My workaround to the problem for the time being is to just always display the select on click:
onDropdownClick() { if (typeof this.dropdownSelected === 'undefined') { this.$timeout(() => { this.dropdownAPI.open(); }, 10); } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant