Something up with highlight...
...and can't quite put my finger on what...
My form panels capture return key presses and submit the form when valid.
If not valid the next invalid field is focused and highlighted.
When I initially load the application in Ext 4.1.0 beta 3 everything works fine.
After some event or other, that have not determined yet, the highlight stops working, although the focus and marking invalid still works fine.
Been trying to debug it, and can't see any errors or anything, just see the animation getting put onto the fxQueue then never firing...
Anyone else seeing similar issues with animations or highlighting not occurring?
Have been trying to come up with a test case but not having much luck, so thought would throw out there in case others are wrestling with the same thing, and making better progress than myself
Any insights or thoughts?
Ahh, tracked it down, but is very obscure, and slightly worrying that an error could cause animation to break...
Discovered that something has changed in TaskRunner, since existing code was working in 4.0.7 but not in 4.1.0... the code is not perfect, so have raised a bug but, in a nutshell, a method identified in a task but not yet given its args got started before it should have been.
Having been given no arguments it called the target method passing the id of the task, a number. The method is was calling expected a button and called up on it, in this case an int. This threw an exception (button.up not a function), and from there on highlight no longer works.
What on earth is all that about?!
Tags for this Thread