Skip to content

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

@taltsi

Description

@taltsi

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); } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions