Hi.
I have the following form and I’m having some problems with CSS only when I use it on Android.
<ion-content class="has-header">
<form novalidate="novalidate" on-valid-submit="enviarOrcamento(orcamento, orcamentoitens)">
<div class="list">
<p class="padding-top padding-left padding-right">Por favor preencha os campos abaixo para que possamos lhe enviar um orçamento:</p>
<label class="item item-input validated">
<span class="input-label">Nome</span>
<input type="text" style="text-align:right" placeholder="seu nome" ng-model="orcamento.nome" required="required" name="nome">
<i class="icon ion-alert-circled error col col-10"></i>
</label>
<label class="item item-input">
<span class="input-label">Empresa(opcional)</span>
<input class="validated input" type="text" style="text-align:right" placeholder="nome da empresa" ng-model="orcamento.empresa">
</label>
Using iOS it shows the label align to the left and the input with the place holder align to the right (perfect). But using Android it shows the label and the input align to the left.
I have others problems. On Android when I have a input with focus and scroll down the screen, the focus (input border) come down together with the screen. And the other problem is that this input border (focus) take more space than it could take, overlaying the label.
Does anyone knows why?
I did not changed the Ionic CSS. This happens in every single input (using the “validate” CSS or not). The CSS from validate I took from here:
Best regards.
Wilton Ruffato Wonrath