Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix site browser resize #1457

Merged
merged 2 commits into from
Feb 20, 2023
Merged

Fix site browser resize #1457

merged 2 commits into from
Feb 20, 2023

Conversation

SamueleFurnari
Copy link
Contributor

Q A
Bug fix? [x]
New feature? [ ]
New sample? [ ]
Related issues? N.A.

What's in this Pull Request?

Once initialized, the DocumentLibraryBrowser component starts loading the list collection and displays a Spinner control. After receiving the response from SharePoint, the React state was updated successfully but the browser doesn't recalculate the size of the items and so the list is displayed if you don't do a window resize. I redesigned the rendering logic of the component.

@joaojmendes joaojmendes self-requested a review February 20, 2023 22:04
@joaojmendes joaojmendes added this to the 3.13.0 milestone Feb 20, 2023
@joaojmendes joaojmendes self-assigned this Feb 20, 2023
@joaojmendes joaojmendes merged commit a0990f6 into pnp:dev Feb 20, 2023
@joaojmendes
Copy link
Collaborator

@SamueleFurnari , Thank you for the fix

@SamueleFurnari SamueleFurnari deleted the fix_site_browser_resize branch February 21, 2023 12:04
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.

2 participants