Hi, I have a ng-repeat generated list of items ordered by a sequence number property, each of which is decorated with buttons allowing for moving the item up or down the list. It's working fine, however, if it comes to button focus / scrolling, it is showing a strange (at least it seems like that) behaviour:
Whenever the controls are triggered by keyboard and the list has some items gone off the view, focus() brings them back properly, but only if the item is being moved up. When moved down, except to the last position, the button having focus is hanging around somewhere beneath the view. Plunker: http://plnkr.co/edit/MHHVS8OsbutOV18cVbEs -> Reduce the height of the view, tab to the first "down" button and send the item down and back by pressing space/enter repeatedly. I could accept doing some kind of extra computation if I would find the browser generally incapable of doing what I want, but that's not the case. It's doing a good job actually, but only upwards. Why? Thanks Monika -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
