• Resolved goingawesomeplaces

    (@goingawesomeplaces)


    Currently I am on WP 5.5.1, TablePress 1.12 and TablePress Extension: Responsive Tables 1.7.

    I’ve noticed that the responsive behaviour seems to have broken in one of the latest versions of WordPress.

    Is this something that you’ve noticed as well or could there be something else at play?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    When I test this, I need to first click/tap on the page and can then scroll horizontally without issues.
    I’m not sure why this is necessary, but it seems to be related to some click-tracking feature that is enabled on your site, probably by some other plugin or your theme.

    Regards,
    Tobias

    Thread Starter goingawesomeplaces

    (@goingawesomeplaces)

    Thanks for the quick response Tobias!

    On mobile on my end (iOS, Chrome), I’m noticing that the normally responsive pages have a much wider width than expected. In the past, it would respect the device’s width and once you got down to the tables, you’d be able to scroll left and right but noticing that it doesn’t behave like that right now.

    Based on what you see, are you saying that you expect it to be something else interfering?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    when I check in the simulator (in the Chrome developer tools) on my computer, or on an Android phone, everything looks and works fine. Unfortunately, I don’t have an iOS device to test.

    But yes, if there are issues, my assumption is that something else is interfering here.

    Regards,
    Tobias

    Thread Starter goingawesomeplaces

    (@goingawesomeplaces)

    Last night, I turned off the JS feature to sort columns and that seemed to have done the trick. What’s weird though is that when I test the page, I can still sort columns despite ticking off that feature “Enable sorting of the table by the visitor.”

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    are you sure that you turned that off for these tables (44, 45, 46)? From what I can see in the page’s source code, sorting is still enabled for the tables.

    Regards,
    Tobias

    Thread Starter goingawesomeplaces

    (@goingawesomeplaces)

    I have turned it off but I’m wondering there’s some caching going on?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    TablePress only caches the HTML output of the table, but not the JS commands.

    Are you maybe using a separate caching plugin for posts/pages? And what do the full Shortcodes for the tables look like that you are using?

    Regards,
    Tobias

    Thread Starter goingawesomeplaces

    (@goingawesomeplaces)

    For the shortcode, I just use the basic “[table id=46 /]” since I have the responsive add-on added – is that correct?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    that Shortcode is correct – but it doesn’t use any of the features that the TablePress Responsive Tables Extension adds. For that, you would have to add a parameter responsive with one of the four possible values, see https://tablepress.org/extensions/responsive-tables/

    Right now, you are using the Horizontal Scrolling that comes with the DataTables JS library, which is also fine.

    The sorting is now also turned off for me, so maybe I was seeing some cache output last night.

    Regards,
    Tobias

    Thread Starter goingawesomeplaces

    (@goingawesomeplaces)

    Hey Tobias,

    If I understand, this means that I should be using [table id=46 responsive=scroll/]? In doing so, I can turn off the JS library completely as long as I don’t need sorting?

    -Will

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Will,

    yes, absolutely correct ??

    Best wishes,
    Tobias

    Thread Starter goingawesomeplaces

    (@goingawesomeplaces)

    LOL I’ve been using it wrong this whole time!

    From a resource and page speed perspective, is it preferred to use the responsive add on vs. Javascript?

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    in your case, the preferred way definitely is the TablePress Responsive Tables Extension, as you won’t be using (expensive) JavaScript code at all, but only bit of CSS code.

    Regards,
    Tobias

    Thread Starter goingawesomeplaces

    (@goingawesomeplaces)

    Great, thanks for confirming!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Responsive Tables in Mobile Not Working’ is closed to new replies.