You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please specify what version of the library you are using: [3.10.0-beta.3137331]
Expected / Desired Behavior / Question
FilePicker panel to retrieve site documents from selected library using WebPartContext which extends BaseComponentContext.
Observed Behavior
FilePicker panel retrieves site documents from selected library in an infinite loop and crashes sharepoint tenant with a Throttle Limit error. It also throws the error below unless I cast the context as "any" which the documentation only mentions is needed for v1.12 of SPFx.
Type 'WebPartContext' is missing the following properties from type 'BaseComponentContext': _isServedFromLocalhost, isServedFromLocalhost
Steps to Reproduce
Use specified packages above. Create SPFx webpart and render the file picker by itself.
Whenever I select a file, it is immediately unselected and the network tab goes ham with requests eventually resulting in an 'out of memory' exception.
@VRomanovTau great thanks! I ended up downgrading my pnp version to v2 and everything is working fine now. Luckily I didn't have any dependencies on v3 so it was an easy transition.
Category
[ ] Enhancement
[X ] Bug
[ ] Question
Version
"@pnp/spfx-controls-react": "3.10.0"
AND/OR (i've tried both)
"@pnp/spfx-controls-react": "^3.10.0-beta.3137331"
using SPFx v1.13.1
package.json
Please specify what version of the library you are using: [3.10.0-beta.3137331]
Expected / Desired Behavior / Question
FilePicker panel to retrieve site documents from selected library using WebPartContext which extends BaseComponentContext.
Observed Behavior
FilePicker panel retrieves site documents from selected library in an infinite loop and crashes sharepoint tenant with a Throttle Limit error. It also throws the error below unless I cast the context as "any" which the documentation only mentions is needed for v1.12 of SPFx.
Type 'WebPartContext' is missing the following properties from type 'BaseComponentContext': _isServedFromLocalhost, isServedFromLocalhost
Steps to Reproduce
Use specified packages above. Create SPFx webpart and render the file picker by itself.
The text was updated successfully, but these errors were encountered: