requiredElements not working as intended
hafnerpw opened this issue · comments
Hafner commented
This is simply not working. I can add any selector I want, the Tour WILL always start. I can't call addSteps but it will ALWAYS display an empty popup. This is very frustrating if the required element is inside ngIf and is only displayed to some users. In my case other users that don't have this element will see an empty popup. Please fix.
Robbie Wagner commented
@w-hafner I believe that is the intended behavior. The documentation is misleading though. You can see here
angular-shepherd/projects/shepherd/src/lib/shepherd.service.ts
Lines 96 to 106 in cf27351