Harvest-Dev / ng-walkthrough

A walkthrough for Angular
MIT License
21 stars 8 forks source link

Arrow not showing #5

Closed brampurnot closed 2 years ago

brampurnot commented 6 years ago

Hello,

I have a small problem with the showArrow. It is not shown at first. However if I resize the screen or re-open the walkthrough, it is shown.

Anyone else experiencing this issue?

Bram

Zefling commented 6 years ago

With which browser, please?

brampurnot commented 6 years ago

Firefox and Chrome...Didn't test any other browser.

Zefling commented 6 years ago

Hmm, it's strange. I don't manage to reproduce this on Firefox and Chrome. It's possible to make a test case ?

brampurnot commented 6 years ago

I discovered the problem (still not sure how it can be fixed). Apparently the issue occurs only for elements that are dynamically created.

I'm actually building a kind of notification center in my website. when an error occurs, a new notification is dynamically added. This notification can contain a button to start the walkthrough process. If I click this dynamically generated button, the arrow is not shown.

When the button is already existing, i.e. not dynamically added, then there is no problem and the button is added. I'll see if I can create a splunker example somewhere next week.

Zefling commented 6 years ago

You still have the problem?