layout: "docs_api" version: "1.1.0" versionHref: "/docs" path: "api/directive/keyboardAttach/"
title: "keyboard-attach" header_sub_title: "Directive in module ionic" doc: "keyboardAttach"
keyboard-attach is an attribute directive which will cause an element to float above the keyboard when the keyboard shows. Currently only supports the ion-footer-bar directive.
<preference name="Fullscreen" value="false" /> or no preference in your config.xml file,
this directive is unnecessary since it is the default behavior.cordova.plugins.Keyboard.disableScroll(true). <ion-footer-bar align-title="left" keyboard-attach class="bar-assertive">
<h1 class="title">Title!</h1>
</ion-footer-bar>