-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popover position at (0, 0) when target is rerendered #580
Comments
@VladimirAnaniev a lot has changed since that previous issue. We've rewritten a lot of the logic. We probably need to add a check to see if the element set as the target initially still exists. |
Any idea when this might be fixed? Many of our steps have dynamic targets and we are hitting this issue for all of them. |
I will take a look today and see if I can find a workaround |
@VladimirAnaniev I opened a PR to fix this issue |
* Recreate elements each time on show Fixes #580 * Fix test timing
Seems like a duplicate of #112 though it is said there it should have been fixed.
Stackblitz with example: https://stackblitz.com/edit/shepherd-rerender-target?file=index.html
Steps to reproduce
Expected result
The newly created element is highlighted and popover is targeting it.
Actual result
Popover is positioned at (0, 0).
The text was updated successfully, but these errors were encountered: