You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.
I'm having some issues, I need to open a bootstrap dropdown menu as part of one of the steps of the tour. It looks like the dropdown gets clicked internally because the color has a sligh change but it doesn't open. I was reading about stopPropagation but I couldn't make it work. Any help will be greatly appreciated.
var tour = {
id: "hello-hopscotch",
steps: [
{
title: "My Header",
content: "This is the header of my page.",
target: "dateInfo",
placement: "left"
},
{
title: "Open Search filter",
content: "Here is where I put my content.",
target: "btnNewMessage",//document.querySelector("#content p"),
placement: "right",
onNext: function() {
$("#btnNewMessage").dropdown('toggle');
}
},
{
title: "My Header",
content: "This is the header of my page.",
target: "dateInfo",
placement: "left"
}
]
};
Hi,
I'm having some issues, I need to open a bootstrap dropdown menu as part of one of the steps of the tour. It looks like the dropdown gets clicked internally because the color has a sligh change but it doesn't open. I was reading about stopPropagation but I couldn't make it work. Any help will be greatly appreciated.
If I place the line
$("#btnNewMessage").dropdown('toggle');
outside the tour json object it opens the dropdown fine.Thanks in advance!
The text was updated successfully, but these errors were encountered: