For some reason the KeyUp() event is not firing on the arrow keys. The KeyDown is working fine. Here is my code am I missing something or is this a bug. IT worked at one point then it stopped working. What is going on here?
function onLoad(control, context, rootElement)
{
rootElement.AddEventListener("KeyDown", onKeyDown);
rootElement.AddEventListener("KeyUp", onKeyUp);
}
function onKeyDown(sender, keyEventArgs)
{
if(keyEventArgs.Key ==17)
{
sndr = sender.findName("ArrowDown")
ScrollDown(sndr, arguments)
}
else if( keyEventArgs.Key ==15)
{
sndr = sender.findName("ArrowUp")
ScrollUp(sndr, arguments)
}
}
function onKeyUp(sender, keyEventArgs)
{
alert('nothing');
StopScroll(sender, arguments)
}
Thank you