Skip to content

Main empty template should be in display:none as long as some sources have results #185

Closed
@vvo

Description

@vvo

Do you want to request a feature or report a bug?
bug

What is the current behavior?
The main empty template: autocomplete('dsadsa', {templates: empty: 'no results'})) is always displayed even when there are some results. Usually this is not an issue but if you style it like this:

.aa-empty {
  height: 20px;
}

Then it will break your design.

If the current behavior is a bug, please provide all the steps to reproduce and a minimal
JSFiddle example or a repository on GitHub that we can npm install
and npm start.

What is the expected behavior?

The aa-empty template should always be in display: none as long as there are some results.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions