You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into an issue where the sticky offset for an element is not being set properly if the offset is bound to a variable. In my app, I have an additional header bar that appears for superusers, thus superusers need a different offset value than regular users. I have a function that determines if the current user is a superuser and returns the appropriate offset. Below is how I am using the directive.
When I set the offset to a static number, it works as expected, otherwise, the element's 'top' css attribute is set to 0. I experience this problem with the 1.8.10 and 1.8.7 releases. I have tried simply binding the variable to the offset as well as using the render binding used above (both dynamic and one-time). I am happy to provide additional information as required.
Thank you for your time and for creating such a useful directive!
The text was updated successfully, but these errors were encountered:
I am running into an issue where the sticky offset for an element is not being set properly if the offset is bound to a variable. In my app, I have an additional header bar that appears for superusers, thus superusers need a different offset value than regular users. I have a function that determines if the current user is a superuser and returns the appropriate offset. Below is how I am using the directive.
When I set the offset to a static number, it works as expected, otherwise, the element's 'top' css attribute is set to 0. I experience this problem with the 1.8.10 and 1.8.7 releases. I have tried simply binding the variable to the offset as well as using the render binding used above (both dynamic and one-time). I am happy to provide additional information as required.
Thank you for your time and for creating such a useful directive!
The text was updated successfully, but these errors were encountered: