Skip to content

Conversation

jczhong84
Copy link
Collaborator

This reverts commit 18c86a6.

It caused datadoc with many data cells can't be fully loaded

@baumandm

@jczhong84 jczhong84 merged commit 5d0ed1d into pinterest:master Sep 21, 2023
@@ -37,8 +37,6 @@
flex: 0 1 var(--max-width);
padding: 36px 8px 36px 16px;

overflow-x: auto;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting width: 100% fixed this issue in our deployment.

@baumandm
Copy link
Contributor

I was able to resolve the issues with cells not loading by changing DataDocCellWrapper.tsx, adding scrollContainer and removing overflow:

        <ReactLazyLoad
            // The height is just a placeholder
            // we use the minimum height of a cell
            // to estimate
            scrollContainer=".EnvironmentAppRouter-content"
            height={placeholderHeight}
            offset={300}
            placeholder={<Loading height={placeholderHeight} />}
            throttle={500}
        >
            {children}
        </ReactLazyLoad>

aidenprice pushed a commit to arrowtail-precision/querybook that referenced this pull request Jan 3, 2024
@jczhong84 jczhong84 deleted the fix/datadoc branch March 6, 2025 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants