Bug Tracker

Opened 11 years ago

Closed 11 years ago

#4103 closed bug (invalid)

Keyboard( arrow keys) controls for slider nopt working with slider.js 1.6rc6 and core.js

Reported by: Ranjith Owned by:
Priority: major Milestone: 1.3.2
Component: unfiled Version: 1.3.1
Keywords: slider Cc: psranjithkumar@…
Blocked by: Blocking:

Description

I am not able to use the keyboard(arrow keys, home, end keys..) control for slider to move the slider bar by using slider.js version 1.6rc6 and core.js.

In slider.js 1.6 hhen i remove the ui in the below code the keyboard(arrow keys, home, end keys..) control is working. And noe code is written for UP and DOWN arrow keys.

switch (event.keyCode) {

case $.ui.keyCode.HOME: newVal = self._valueMin(); break; case $.ui.keyCode.END: newVal = self._valueMax(); break; case $.ui.keyCode.UP: case $.ui.keyCode.RIGHT: if(curVal == self._valueMax()) return; newVal = curVal + step; break; case $.ui.keyCode.DOWN: case $.ui.keyCode.LEFT: if(curVal == self._valueMin()) return; newVal = curVal - step; break; }

I do not know whether it is a bug or whether alternative ways are there to solve it.

Please let me know how to solve this

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: invalid
Status: newclosed

Probably best to ask in the UI group, and open a bug in the UI tracker if it seems like it's really a bug. This tracker only handles jQuery core.

http://groups.google.com/group/jquery-ui

http://dev.jqueryui.com/

Note: See TracTickets for help on using tickets.