GustavoCostaW / ngc-float-button

Google Material Design Float Button - Implementation for Angular v4+. Demo: http://bit.ly/2yIya2f
MIT License
58 stars 24 forks source link

Positioning with @angular/flex-layout #13

Closed oberoivarun closed 6 years ago

oberoivarun commented 6 years ago

I'm using flex-layout module and having problems positioning the foat-button.

What is the recommended way to position the element? I understand flexbox doesn't work so well with absolute positioned elements.

GustavoCostaW commented 6 years ago

@oberoivarun Hey, the ngc-float-button can be an absolute element, with this you can use the top, left, right and bottom properties

check this demo:

https://stackblitz.com/edit/ngc-float-button-jakyyc?file=app%2Fapp.component.html