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
Is it possible to change the directive so that we can choose if we want a toggle behavior or not?
public showOrHideOnClick(evt: Event): void {
if (this.popoverOnHover) {
return;
}
if (this.popoverDisabled) {
return;
}
evt.stopImmediatePropagation();
this.toggle(); // <-- maybe use an option to make it toggle or make it only disapear if we click outside of the element
}
Same with the touch function.
I'm currently trying to use it for a context menu to set options for the clicked element.
That toggle behavior is breaking UX in that case.
The text was updated successfully, but these errors were encountered:
Is it possible to change the directive so that we can choose if we want a toggle behavior or not?
Same with the touch function.
I'm currently trying to use it for a context menu to set options for the clicked element.
That toggle behavior is breaking UX in that case.
The text was updated successfully, but these errors were encountered: