Closed INRLDX closed 10 months ago
Hello INRLDX, thank you for opening an issue with us!
I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌
@nmetulev ,@gavinbarron - Can you please help if you have any idea about this component issue.
@INRLDX for us to provide high quality support on this we're going to need a working minimal reproduction. There's a lot of set up in your steps and room for us to mis-interpret your words.
If you can share repo that has all of the behavior that you note as setup to reproduce this issue then we we'll be able to better investigate this issue.
Describe the bug We are using the mgt component to load people data. In loop we are using this mgt component.The component which we are using is having event on scroll for data changes, which triggers api call to fetch next page result. However when the count of data changes, the whole UI/Component is re-loading instead of dom-update, its clearing and then loading the UI/Components on data count increase.Also the re-rendering happening twice and sometimes it increases. The impact of this behaviour is that its taking long time to render next set of results and most of the time the page freezes during rendering.
To Reproduce Steps to reproduce the behavior:
https://github.com/microsoft-search/pnp-modern-search
Expected behavior Re-rendering of page should not happen.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Sample Template used
{{#each data.items as |item|}}
-
{{#> resultTypes item=item}}
{{#and @root.properties.layoutProperties.showPersonaCard (slot item @root.slots.PersonQuery)}}
\{{ position.detail.jobTitle }} (\{{
position.detail.company.department }})
\{{ project.displayName }}
program: \{{
edu.program.displayName }}
Institution: \{{ edu.institution.displayName }}
\{{ interest.displayName }}
{{else}}
{{/and}}
{{/resultTypes}}
{{/each}}
About me
Work history
Project history
Educational Activities
Interests