I'm trying to use MDL in an AngularJS project.
To install MDL, I've followed the instructions for bower found here: https://getmdl.io/started/index.html
Then I'm using this code, just right after the : https://getmdl.io/components/#textfields-section
<!-- Simple Textfield -->
<form action="#">
<div class="mdl-textfield mdl-js-textfield">
<input class="mdl-textfield__input" type="text" id="sample1">
<label class="mdl-textfield__label" for="sample1">Text...</label>
</div>
</form>
I've already tested in chrome and in firefox, and when I focus the element, I'm getting this:
I don't have any clues why the focus is not aligned with the input border-bottom (as it shoud be). Any ideas about the reason and how to fix it?
EDIT: The problem is due to a conflict with Bootstrap, which I'm also using in my project. How to use both Boostrap and MDL and eliminate this conflict?