question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't scroll .table-responsive on Android Chrome

See original GitHub issue

Hi 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:closed
  • Created 7 years ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
cvrebertcommented, Jul 11, 2016
1reaction
cvrebertcommented, Jul 6, 2016

@sprakashg Do you mean Bootstrap v3.3.0 or v3.3.6? Also, what version of Android are you running?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found