-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use rootElement, if defined, rather than document.body (#295)
* Use rootElement, if defined, rather than document.body This will help alleviate issues with testing, where the tour is added to the body, rather than the testing container. * Wrap appendTo in tippyOptions * Disable animations in the test environment, to ensure timing is correct * Remove document.querySelector from test clicks
- Loading branch information
1 parent
2745dd4
commit b50b89b
Showing
3 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters