We're using Wicket 6.  We have a requirement to set focus to the feedback
panel anytime it shows.  We add our feedback panel in a common module and I
put window.scrollTop(0,0) in  the renderHead of a behavior on the feedback. 
This works on some pages but not all. 

On the pages where it doesn't work I can see the window.scrollTop in the
response body in the browser devtools.  I put an alert and so I can see it
runs.  But it only moves the focus up slightly.  When I don't add the whole
form to the response (it sets field styles, aria tags and there are
component feedbacks as well as the main feedback), I can move to the top,
but as I add individual parts back in, they don't work entirely right.

Has anyone seen anything like this?  Can anyone suggest something that
doesn't involve me slowly undoing everything in these pages to find the
culprit?

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to