A simple plugin to hide ionic fab buttons while scrolling.
npm install ionic-hide-fab-onscroll --save
import {HideFabOnscrollModule} from 'ionic-hide-fab-onscroll';
in your module first@ViewChild(Content) content: Content;
inside component<ion-fab bottom right><button ion-fab [hideFabOnscroll]='content'>top</button></ion-fab>