Skip to content
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

manual show is causing buggy behavior #266

Open
kevr opened this issue Feb 24, 2018 · 0 comments
Open

manual show is causing buggy behavior #266

kevr opened this issue Feb 24, 2018 · 0 comments

Comments

@kevr
Copy link

kevr commented Feb 24, 2018

Hello. I'm using this in a react application. I've the following logic:

onButtonClick: (e) => {
    e.preventDefault();
    $("#el").webuiPopover({ url: "#login-dropdown", dissmissable: true, trigger: "manual" });
    $("#el").webuiPopover("show");
}

onFormSubmit: (e) => {
    e.preventDefault();
    $("#el").webuiPopover("hide");
}

I've also tried a few different combinations... however, this causes the popover to bug out a lot after first form submission. I have a submit button inside of a form located within the webui-popover-content div, and that form's submit is bound to that handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant