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

Is this a bug of the delegation option? #548

Open
giovannipds opened this issue Apr 13, 2018 · 1 comment
Open

Is this a bug of the delegation option? #548

giovannipds opened this issue Apr 13, 2018 · 1 comment

Comments

@giovannipds
Copy link

Description:

Trying the delegation option today I've got stuck into a thing where the option wasn't following my lead, so I'm open this to get sure if that's really consider a bug or not.

Expected Behavior:

The ajaxForm would normally work if any of the forms were removed and re-appended to DOM.

Actual behavior:

The delegation option doesn't obey to the jQuery selector and overwrite the forms that came before.

Versions:

jQuery: 3.3.1 and probably others;
Browsers: Chrome and probably others.

Demonstration

Link to demonstration of issue in CodePen.

Steps to reproduce:

Just click on the buttons.

@kevindb
Copy link
Contributor

kevindb commented Jun 29, 2018

Yep, it's definitely reproducible. Looks like a bug to me.

I have added the "help wanted" label to this issue. I, personally, have never used the delegation feature, so I'm not at all familiar with it. I'm hoping someone from the community, will submit a pull request to resolve the issue. I am very open and responsive to pull requests.

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

No branches or pull requests

2 participants