-
-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari Bug - max-width:100% and tiny viewport #108
Comments
I don't have that problem with safari on osx 10.9. Also, I don't officially support safari. Sorry I can't offer a better solution, but supporting mobile phones is a pain I would rather not inflict on myself :) |
So I revisited this and was looking at issue #117 which mentioned adding a min-width to help safari for both OSX and iOS. The min-width mentioned was 621px, which made things a little closer to being correct. I fiddled around with widths until settling at a min-width of 843px to work w/ my particular table. Not sure if you'd like to reopen this ever, but this may be a little idea on where to go w/ getting both OSX and iOS Safari working a little better. Still like this tool either way though, thanks! |
I looked into this a bit more. You are seeing this issue on mobile safari because most tables there do not fit into the viewport. I do not know (yet) how to fix this without modifying the table's CSS, which I strive not to do at all costs. |
testcase: check that out on safari and then on chrome. one of them is lying about width... |
You're right, interesting. Chrome on OSX shows that value as being 523 where as safari show it as being 48. |
fixed crappy jquery version detection debug output
I added "feature" detection for this bug and a workaround into table width code. Now it should not render so badly on iOS. I added a testcase for it here: you will notice that its not perfect yet, the Let me know if this patch gives you enough to work with on this issue. |
closing this. safari is still not fully supported. ill add something to the readme about this |
Hello, I am a bit confused about the workaround that you mentionned for the background issue in the header. Many thanks |
having a |
Yes it is reporting 48px (iPhone 5S with iOS 8.1.3) |
I was able to fix the issue in this http://mkoryak.github.io/floatThead/tests/safari/ where the header has no background when you scroll to the left by adding the following css rule th {
background-color: #fff;
} |
Hello, I just updated the floatThead with the latest stable release, without yet using your workaround above and it works perfectly already (with my own web page with particular use of floatThead). |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I've noticed in Safari (Mac) that the header's are not responding the way that they should. I'm specifically using this in conjunction w/ Bootstrap 3 and a responsive table. I've also noticed that on an iOS device, using mobile Safari or Google Chrome, has the same issue. Here's what I'm seeing using a demo of bootstrap 3 from your site:
The text was updated successfully, but these errors were encountered: