提交 3cc1d57a 编写于 作者: A Abhinav Sharma 提交者: Kamran Ahmed

Add comment for overlayClickNext

上级 4f92bf42
......@@ -117,6 +117,7 @@ export default class Driver {
const clickedHighlightedElement = highlightedElement.node.contains(e.target);
const clickedPopover = popover && popover.contains(e.target);
// Perform the 'Next' operation when clicked outside the highlighted element
if (!clickedHighlightedElement && !clickedPopover && this.options.overlayClickNext) {
this.handleNext();
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册