Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
trigger() function not pass extraParameters when trigger click event of a radio element (Only jQuery 3.2.0) #3579
Comments
|
Could you create a test case without external libraries on https://jsfiddle.net or https://jsbin.com? |
|
...actually, this seems like https://bugs.jquery.com/ticket/13353 (also relevant: #1741). I'm closing this one as a duplicate; I assume your issue is not isolated to jQuery 3.2.0 but also happens in older versions. |
mgol
closed this
Mar 20, 2017
GrayYoung
commented
Mar 20, 2017
|
But when I switch the version to 3.1.1, the code work fine. |
|
OK, please provide a test case on https://jsfiddle.net or https://jsbin.com then and we'll have a look. |
mgol
reopened this
Mar 20, 2017
mgol
added
the
Needs info
label
Mar 20, 2017
GrayYoung
commented
Mar 20, 2017
|
https://jsfiddle.net/kzg5o5pa/5/ I finally have done the test case, trigger function with passing extraParameters not work on radio element, but button element. It is so strange. |
GrayYoung
changed the title from
trigger() function not pass extraParameters when update jQuery into 3.2.0
to
trigger() function not pass extraParameters when trigger click event of a radio element (Only jQuery 3.2.0)
Mar 20, 2017
|
I can confirm the behavior. A simplified test case: https://jsfiddle.net/kzg5o5pa/7/. This is a regression from 3.1.1. Thank you! |
mgol
added
Blocker
Bug
Event
and removed
Needs info
labels
Mar 20, 2017
mgol
added this to the 3.2.1 milestone
Mar 20, 2017
|
The regression was introduced in b442aba. |
mgol
added
the
Needs review
label
Mar 20, 2017
And as such, is actually a "fix" to a consistently-broken state. |
|
We're going to back out this change and take closer look at #1367 for 3.3. |
GrayYoung commentedMar 20, 2017
isSimulated is undefined, it should be true.