Fixes unexpected UX behavior on WP8.1

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-13 23:38:28 -03:00
parent ea14fa3d97
commit 8fdb24652f
3 changed files with 4 additions and 22 deletions

View File

@ -38,7 +38,7 @@
<section
class="main-dark"
ng-class="{'main animation': index.hasProfile, 'animation-left': index.swipeLeft,
ng-class="{'main': index.hasProfile, 'animation-left': index.swipeLeft,
'animation-right': index.swipeRight}"
ui-view="main"></section>
<div ui-view="menu"></div>

View File

@ -123,12 +123,7 @@
<small translate class="has-error" ng-show="sendForm.comment.$invalid && !sendForm.comment.$pristine">too long!</small>
</label>
<div class="input">
<textarea id="comment" ng-disabled="send.blockUx" name="comment" ng-if="index.n > 1"
ng-attr-placeholder="{{'Leave a private message to your copayers'|translate}}"
ng-maxlength="100" ng-model="_comment"
ng-blur="send.formFocus(false)"></textarea>
<textarea id="comment" ng-disabled="send.blockUx" name="comment" ng-if="index.n == 1"
ng-attr-placeholder="{{'Add a private comment to identify the transaction'|translate}}"
<textarea id="comment" ng-disabled="send.blockUx" name="comment"
ng-maxlength="100" ng-model="_comment"
ng-blur="send.formFocus(false)"></textarea>
</div>
@ -142,13 +137,13 @@
<div class="row" ng-show="!send.onGoingProcess">
<div class="large-6 medium-6 small-12 columns">
<div class="large-6 medium-6 small-6 columns">
<button type="submit" class="button black radius expand" ng-disabled="sendForm.$invalid || send.blockUx"
ng-style="{'background-color':index.backgroundColor}" translate>
Send
</button>
</div>
<div class="large-4 medium-4 small-12 columns text-right">
<div class="large-6 medium-6 small-6 columns">
<a ng-click="send.resetForm(sendForm)" class="button expand warning"
ng-show="(send._paypro || send.lockAddress) && !send.blockUx" translate>Cancel</a>
</div>

View File

@ -615,19 +615,6 @@ a.pin-button:active {
padding-top: 1rem;
}
.animation {
position: absolute;
background: #fff;
display: block;
width: 100%;
height: 100%;
top: 0;
left: 0;
-webkit-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.animation-left.ng-enter, .animation-left.ng-leave,
.animation-right.ng-enter, .animation-right.ng-leave {
-webkit-transition: all cubic-bezier(0.250, 0.460, 0.450, 0.940) 250ms;