#11012 closed bug (invalid)
jquery.event.drag does not work with jQuery 1.7.1
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | event | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
when use $(document).on("drag", "div", div_Drag) or $("div").live("drag", div_Drag) it does not work in jQuery 1.7.1
as it can work in jQuery 1.6.x
Change History (10)
comment:1 Changed 11 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
comment:3 Changed 11 years ago by
I'm having the same problem. The newest version of the plugin is developed for jQuery 1.4.2. (it's the version used on the plugin's website) Changes made in newer versions of jQuery results this issue. An example on the plugin's website uses live delegation and with jQuery 1.7 it won't work because in it the function is deprecated. I guess a fix for jQuery 1.7 wouldn't need really big changes to plugin.
comment:4 Changed 11 years ago by
Deprecation does not change the function of the software, it is strictly a documentation thing. We still need a test case, I'll reopen.
comment:5 Changed 11 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:6 Changed 11 years ago by
Component: | unfiled → event |
---|---|
Priority: | undecided → low |
Status: | reopened → pending |
comment:7 Changed 11 years ago by
Using jQuery 1.6.4 it works. You are able to drag a box you added to the screen. If you try it with jQuery 1.7, it no longer works. The functionality of event.drag plugin has disappeared.
comment:8 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
I see this in the jQuery.event.drag plugin:
jQuery.event.triggered=true;
That has never been a documented interface, and it is no longer is a Boolean. The authors of the plugin will need to change their code, have them contact me if they need help.
comment:9 Changed 11 years ago by
I think the plugin is discontinued so they're not going to fix it.
comment:10 Changed 11 years ago by
Replying to dmethvin:
I see this in the jQuery.event.drag plugin:
jQuery.event.triggered=true;
That has never been a documented interface, and it is no longer is a Boolean. The authors of the plugin will need to change their code, have them contact me if they need help.
I found a fix to this issue from this thread. However, it's not helping with live delegation, at least not as far as my tests go.
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.