ScrollToFixed
ScrollToFixed copied to clipboard
Window resize from android keyboard triggering fixed and unfixed events.
This is sort of an edge case and might not be something that should be coded for.
The Android keyboard is not overlaid on view area like the ios one so it triggers a window resize event which always triggers the unfixed event or the unfixed followed by the fixed.
If you have event handlers bound to the fixed and unfixed events that attach and remove form elements respectively to the fixed element on the page. The form elements loose focus because the form element is removed and the reattached to the DOM. I have an example of the of the issue here: http://jsbin.com/vowusojute/