Library
React / v8 (@fluentui/react)
System Info
System:
OS: Windows 10 10.0.22000
CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
Memory: 33.50 GB / 63.92 GB
Browsers:
Chrome: 103.0.5060.114
Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.49)
Internet Explorer: 11.0.22000.120
Are you reporting Accessibility issue?
no
Reproduction
|
onRenderNoResultFound(undefined, noResults) |
Bug Description
Actual Behavior
Infinite loop when there are no results. Flow is
Render -> no results -> if prop is specified, call it and pass no results callback as the default renderer. If consumer uses the default renderer it will cause a loop.
Our logic:

Expected Behavior
Calling the default renderer shouldn't be self referencing. See
|
onRenderNoResultFound(undefined, noResults) |
Logs
No response
Requested priority
High
Products/sites affected
Microsoft Planner
Are you willing to submit a PR to fix?
no
Validations
Library
React / v8 (@fluentui/react)
System Info
System: OS: Windows 10 10.0.22000 CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor Memory: 33.50 GB / 63.92 GB Browsers: Chrome: 103.0.5060.114 Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.49) Internet Explorer: 11.0.22000.120Are you reporting Accessibility issue?
no
Reproduction
fluentui/packages/react/src/components/pickers/Suggestions/Suggestions.tsx
Line 153 in d4c3346
Bug Description
Actual Behavior
Infinite loop when there are no results. Flow is
Render -> no results -> if prop is specified, call it and pass no results callback as the default renderer. If consumer uses the default renderer it will cause a loop.
Our logic:

Expected Behavior
Calling the default renderer shouldn't be self referencing. See
fluentui/packages/react/src/components/pickers/Suggestions/Suggestions.tsx
Line 153 in d4c3346
Logs
No response
Requested priority
High
Products/sites affected
Microsoft Planner
Are you willing to submit a PR to fix?
no
Validations