Closed vasilvv closed 9 years ago
Reproduced on Chrome on my Macbook Air. I believe this is a focus issue as clicking on a pane fixes it and clicking on the top bar breaks it again.
This is an issue with something that's almost but not quite focus, because calling .focus()
on the div doesn't fix it. I'm not 100% sure what to do.
One possibility would be to manually capture and redefine behavior of PageUp/PageDown, since the reason Home, End, Up and Down work when PgUp/PgDown don't is that they are redefined.
Oh, this sounds familiar. You need to do something funny for overflow divs to be focusable. I think you give it a tabIndex? If you dig in the history of Roost 1.0, before the Angular rewrite, you should find something. I hopefully kept history then. I think you also want to then hide the focus ring because it'll draw one and it looks silly.
tabIndex
was the magic word, thanks :)
The same is the case after zooming in or out of class. Justin suggests it's an on-load focus issue.