How do I get button locations and sizes on nav-bar

I’ve created awhile back a walkthrough directive for Ionic ( ) and came across an issue which is pretty annoying for me and several other users of the directive.
The directive automatically calculates a given DOM element location and size using ‘$ionicPosition.offset’ and highlights it, but when used on a DOM element that is on the nav bar, such as a nav-button, values retrieved are zero for all.
Is there any other way I could achieve this or an expected change to the $IonicPosition that with solve the issue?

1 Like

How do i get some feedback into here?