Can't scroll .table-responsive on Android Chrome
See original GitHub issueHi Team, I’m using bootstrap version 3.3 for my project, looks like the horizontal scroll doesn’t work on my android phone chrome browser(version: 51) when I have table-responsive above .table. I have declared it right, followed stack-overflow as well.
<div class="table-responsive">
<table class="table">
</table>
</div
When I look at this page on my android phone(chrome browser), table is not rendered to width of 100%, more over the horizontal scroll doesn’t show up at all. While developing (OS: Ubuntu 14.0.4), I installed a responsive plug-in on chrome, using that I tested the page on various devices, there the horizontal scroll shows up. Tweaked the code too,
@media screen and (max-width:767px) {
.table-responsive {
width: 360px !important;
margin-bottom: 15px;
overflow-y: hidden;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #ddd;
}
}
@media screen and (min-width:767px) {
.table-responsive {
width: 100% !important;
margin-bottom: 15px;
overflow-y: hidden;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #ddd;
}
}
Still the scroll doesn’t show up. Any help on this would be really helpful
Issue Analytics
- State:
- Created 7 years ago
- Comments:14
Top Results From Across the Web
Responsive on mobile device with tables not working within ...
You can't make table responsive, unless you use a JS solution. Furthermore, your table is in an iFrame, so you have to set...
Read more >Cant scroll to rest of page content after table with FixedHeader
When using FixedHeader ext with bootstrap 4 I can't scroll past the table to the rest of the page content. This is only...
Read more ><table>: The Table element - HTML - MDN Web Docs - Mozilla
The <table> HTML element represents tabular data — that is, ... and the way to make them scrollable isn't obvious, ... Chrome Android18....
Read more >CSS · Bootstrap
Responsive tables. Create responsive tables by wrapping any .table in .table-responsive to make them scroll horizontally on small devices (under 768px) ...
Read more >Tables overflow on mobile [#3068696] | Drupal.org
Even with the responsive tables feature. A CSS-only approach will not work. When scrolling horizontally, sticky headers will not move with ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sprakashg Does the problem occur with http://getbootstrap.com/css/#tables-responsive too?
@sprakashg Do you mean Bootstrap v3.3.0 or v3.3.6? Also, what version of Android are you running?