@nunoarruda wrote:
I want my message input bar to float above the keyboard when the keyboard shows but it looks like there's no keyboard-attach directive (like v1) in Ionic 2 yet (maybe in the works?). Is there any alternative/workaround?
Current behaviour:
Wanted behaviour:
Here's the code of my message input bar:
<ion-toolbar position="bottom" *ngIf="userIsAdmin"> <form (ngSubmit)="onSubmit(f)" #f="ngForm" class="message-form"> <ion-badge class="message-form-badge">Admin</ion-badge> <ion-input type="text" placeholder="Type a message..." ngControl="messageInput"></ion-input> <button type="submit" small class="message-form-button">Send <ion-icon name="send"></ion-icon></button> </form> </ion-toolbar>
Posts: 1
Participants: 1