Closed kshipp closed 6 years ago
Could you possibly try with the 3.0.0 release of FixedHeader please? Example. I don't have an Android device to test with at the moment.
Gave 3.0.0 a quick spin with my device. Orientation doesn't seem to have any impact.
Header It is in the correct location vertically with the 3 browsers I have (Chrome, Firefox, HTC). However, it does not respond to horizontal scrolling in Firefox and HTC.
Chrome works most of the time with horizontal scroll, however the header occasionally gets stuck scrolled to the right (excess left padding/margin?). I can't quite nail down what I do to cause it, and it fixes itself after a few scrolls... Might be related to the address bar coming in.
Footer Works in Firefox with the same horizontal scroll issue. Does not appear at all in Chrome or HTC.
Horizontal scroll is most certainly a bug - an oversight on my part. Thanks for pointing it out.
For the rest, I'll try to get ahold of an Android device.
@DataTables You can make this happen right in Chrome if you open Developer Tools and Select the Nexus 6P as a device. Screenshot If you scroll back up sometimes the header will show back up.
Thanks! I'll try to take a look in the next week or two after I've polished off some other work.
I recently installed this and it works great on pc. I'm having the same issue on my Android with Chrome though... any workaround?
This appears to be a reason and potential solution but I don't know how to implement it... https://datatables.net/forums/discussion/18724/fixedheader-bootstrap-mobile-device
It appears that you need to have user-scaleable=no
in your meta tags for position:fixed to work in Android Chrome. I've updated my examples to this and I'm going to add a test for this for a new debugger I'm working on.
When viewing on a Samsung phone (uses Chrome for Android), the floating header floats incorrectly - both vertically and horizontally. If you change the orientation of the phone to horizontal, the floating works correctly. When in portrait mode, the header floats far too low and if you attempt to scroll horizontally, the floating header doesn't scroll horizontally. All kinds of issues....