abhikmitra / ng-joyride

Angular Joyride Directive for creating custom introductions to websites
126 stars 68 forks source link

Bypass type element if not displayed conditions for config property type #50

Closed learner972 closed 8 years ago

learner972 commented 8 years ago

Hi,

I have some elements which are displayed based on some conditions,is there anyway to bypass the object property if not found as I am getting error if not found TypeError: Cannot read property 'top' of undefined at Object._scrollToElement in case it is not displayed.