Changes between Version 1 and Version 2 of Ticket #6668, comment 1
- Timestamp:
- Nov 18, 2010, 7:00:12 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6668, comment 1
v1 v2 1 By extending the "stopPropagation" to clicking the arrow keys (37 to 40), the behaviour becomes as expected. Not a bug though, but still I would opt for building in stopPropagation as default when arrow keys are pressed:1 By extending the "stopPropagation" to pressing the arrow keys (37 to 40), the behaviour becomes as expected. Not a bug though, but still I would opt for building in stopPropagation as default when arrow keys are pressed: 2 2 3 3 4 if (e.keyCode >= 37 && e.keyCode <= 40) { e.stopPropagation(); } 4 $('#accordion').find('input').keydown (function (e) { 5 if (e.keyCode >= 37 && e.keyCode <= 40) { e.stopPropagation(); } 6 });