Ecodev / fab-speed-dial

Angular Material FAB speed dial
https://ecodev.github.io/fab-speed-dial
MIT License
89 stars 19 forks source link

Feature request: base z-index configurable #46

Closed pfosser closed 4 years ago

pfosser commented 4 years ago

Hi, it would be nice to have support for a configurable base z-index, for the action items above all. For the items, it's set programmatically, so it overwrites any style given from outside.

PowerKiKi commented 4 years ago

What about hardcoding Z_INDEX_ITEM to something very high. Now it's 23, so let's say 999 ?

pfosser commented 4 years ago

You're never safe with hard coded values, you could always bump into other libraries with a hardcoded value greater than yours. Anyways, I managed to overcome the problem which originated the request. Thanks anyway

sambaptista commented 4 years ago

Now it's 23, so let's say 999 ?

This would lead the FAB buttons to be displayed over the Material overlays, and it really should be avoided.

I agree with homemade solutions for everybody's specific use cases.