Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

autocomplete input dropdown stack order #323

Open
utk3012 opened this issue May 15, 2018 · 2 comments
Open

autocomplete input dropdown stack order #323

utk3012 opened this issue May 15, 2018 · 2 comments

Comments

@utk3012
Copy link

utk3012 commented May 15, 2018

The autocomplete input (https://sherweb.github.io/ng2-materialize/input) dropdown pushes down the elements below the input instead of coming in front of the elements like a default search engine autocomplete dropdown.
Is there a work around to it?
The dropdown is dynamically added so applying CSS to it not possible.

@scote
Copy link
Contributor

scote commented May 15, 2018

It seems to be a bug in Materialize version 100.2.
http://archives.materializecss.com/0.100.2/forms.html

@viniciusbezvieira
Copy link

I solved it this way

styles.scss

mz-input-container {
	.autocomplete-content {
		position: absolute;
		width: 100% !important;
	}
}

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

No branches or pull requests

3 participants