Ticket #11315 (closed bug: fixed)
Problems with delegate() and :first in nested elements with equivalent classes
|Reported by:||dos-one||Owned by:||dmethvin|
If you have a nested hierarchy of DOM elements, all having the same class. .delegate() using the :first pseudo selector has problems. Please see the JSBin below.
It appears that only the topmost element is found. This presents major problems when dealing with tree like dom structures. Further, if you switch between jQuery 1.6.4 and 1.7.1 in the JS Bin, you'll notice that everything works fine with 1.6.4 so this appears to be a clear regression.
comment:10 Changed 4 years ago by dmethvin
- Priority changed from undecided to low
- Component changed from unfiled to event
- Milestone changed from None to 1.8
comment:11 Changed 3 years ago by dmethvin
- Owner set to dmethvin
- Status changed from open to assigned
comment:12 Changed 3 years ago by Dave Methvin
- Status changed from assigned to closed
- Resolution set to fixed