Table components with "Allow Scroll Bars" not showing any data until you click on stuff (Lightning 11.2.9)

  • 1
  • Problem
  • Updated 2 weeks ago
  • Acknowledged
^ as described above. This is quite a big one for us. Seems maybe to only affect new pages?

If there's a quick css fix we can add to the page could someone let us know?

Cheers!

Louis
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb

Posted 6 months ago

  • 1
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
This is what it looks like:


Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Did we not have a bunch of extra conversation on this thread? I wonder if maybe I'm just losing my mind.
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Any ideas what's going on here? Not re. the losing of my mind but re. the losing of some of the posts on this page. I'm not sure if you saw my responses to your responses. I'm still having this issue even with the XML you provided to me (remove the table height property). Can someone please get back to me on this?
(Edited)
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Can someone from Skuid please help with this? It's getting quite urgent.
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
It also seems to happen to the table component in Lightning when you click onto a record in that table and then click the back button in the browser - when you navigate back to the previous record all the rows are removed and only show up again when you click on something in the table component. Interestingly - in all these cases - opening the Chrome Developer Tools forces the rows to pop back in. Bizarre. Same in Firefox.
(Edited)
Photo of Stephen Sells

Stephen Sells

  • 17,326 Points 10k badge 2x thumb
I haven't been able to reproduce this problem. Can you share your XML of the problem?
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Hi Stephen, yes - absolutely. This XML is used in a fresh 11.2.9 install using the Skuid Lightning Component in a record detail page (custom object). Also about to provide login access. Thank you!

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" useviewportmeta="true" showheader="true">
    <models>
        <model id="OppsModel" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" sobject="Opportunity">
            <fields>
                <field id="AccountId"/>
                <field id="Account.Name"/>
                <field id="Amount"/>
                <field id="CloseDate"/>
                <field id="Description"/>
                <field id="Fiscal"/>
                <field id="Id"/>
                <field id="Type"/>
            </fields>
            <conditions/>
            <actions/>
        </model>
    </models>
    <components>
        <skootable showconditions="true" showsavecancel="true" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" hideheader="false" hidefooter="false" pagesize="100" alwaysresetpagination="false" createrecords="true" model="OppsModel" buttonposition="" mode="read" allowcolumnreordering="true" responsive="true" uniqueid="sk-3izY-296" allowscrollbars="true" floatheader="true" freezeleftcolumns="true" columnstofreeze="1">
            <fields>
                <field id="AccountId" uniqueid="fi-3izY-297"/>
                <field id="Account.Name" uniqueid="fi-3izY-298"/>
                <field id="Amount" uniqueid="fi-3izY-299"/>
                <field id="CloseDate" uniqueid="fi-3izY-300"/>
                <field id="Description" uniqueid="fi-3izY-301"/>
                <field id="Fiscal" uniqueid="fi-3izY-303"/>
                <field id="Type" uniqueid="fi-3izY-305"/>
            </fields>
            <rowactions>
                <action type="edit"/>
                <action type="delete"/>
            </rowactions>
            <massactions usefirstitemasdefault="true">
                <action type="massupdate"/>
                <action type="massdelete"/>
            </massactions>
            <views>
                <view type="standard"/>
            </views>
            <searchfields/>
        </skootable>
    </components>
    <resources>
        <labels/>
        <javascript/>
        <css/>
        <actionsequences uniqueid="sk-3izS-249"/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>

Photo of Stephen Sells

Stephen Sells

  • 17,326 Points 10k badge 2x thumb
This is a known Skuid issue. We'll notify here when a fix goes live.

Allow Scroll Bars" on Tables in Lightning won't show the data in the table on page load unless "Max Table Height (Optional)" is set. And if it is set, it won't appear properly.
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
My temporary fix for this is a "Skuid Page:Rendered" triggered snippet which waits for a second and then re-renders the table via component id:

setTimeout(function () {
    
    skuid.$C('sk-3cxp-3205').render();
}, 1000);
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Any updates on this? It's driving me round the bend.
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
I can't reproduce the behaviour I'm seeing above when I turn off scroll-bars on the table.
Photo of Stephen Sells

Stephen Sells

  • 17,326 Points 10k badge 2x thumb
I've been able to reproduce this issue in 11.2.11. We'll be working on it. Thank you again for posting this
Photo of Stephen Sells

Stephen Sells

  • 17,326 Points 10k badge 2x thumb
Doing a hard reset of the cache in Chrome via View > Developer > Developer Tools > Application > "Clear Site Data" makes this problem intermittent instead of every time. It will work about 60% of the time instead of 0% of the time. At least, this is what we are seeing
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Thanks Stephen, I'm glad you guys are seeing similar behaviour. It seems to be more likely to occur when larger volumes of data are being loaded into the page (though at volumes that wouldn't have been an issue in the past). It's like the rendering process on the table rows is waiting to be triggered only once the data has returned, but where this trips over for whatever reason (a bit more data or some other interruption) the trigger to display the rows never gets fired (or gets fired too soon?). It's a new problem, as we've been doing stuff in Lightning for some time and it's not been an issue before. I couldn't tell you which version introduced it though, maybe 11.2.9? But I really don't know.
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
In Charity App -> Finance/Membership tabs in org id 00D1t000000GWX9 (you've got access) you can reproduce it pretty much every time. Especially if you refresh the page from those tabs.
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Hello! Can someone reach out to me on this please as I've just updated to the latest version of Skuid and I still have this issue on a very simple page.
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
I've granted login access (00D1w0000008acv) - head over to the Finance tab and you'll see the issue (in Lightning). I've tried in Incognito mode etc. and still the same thing:


Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Ah! I've cracked it! No idea why this might be but I've isolated the issue to a row action, and specifically a row action using the FontAwesome 4 icon set. e.g. set a row action like in the screenshot below and use "sk-webicon-font-awesome:external-link-square" as the icon. The whole table breaks! This has caused me hours of frustration :(

Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
So I assume there's a problem with how Skuid is accessing this particular icon set as part of the component render? It doesn't grab the resource in time and the table row rendering fails. Anyway - hopefully y'all can replicate.
Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Actually no! I still have this issue! Can someone from Skuid please set up a screen share so we can go through this.
Photo of Sean Dowd

Sean Dowd, Employee

  • 126 Points 100 badge 2x thumb
Hi Louis, 

Our Engineers are looking into this.  We will either reach out directly for additional information or update this post as more details become available.  Thank you!!

Photo of Louis Skelton

Louis Skelton

  • 5,234 Points 5k badge 2x thumb
Thanks for this - another thing I’ve noticed, possibly related - if you refresh a page with a table (or open it for the first time) and then whilst the Skuid blue circle spins as the Skuid component loads navigate to a different browser tab - wait... - go back, no table rows. This is true for a very simple table and is easy to replicate.
(Edited)