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
Proposal: Rendered / Loaded event for Person control
Description
Since many controls load data in the background it's not obvious from the outside when a control has completed loading / rendering it's content. So an event on controls like the Person control would be helpful that indicates the control has finished updating.
Rationale
For my usecase, I need to know the longest name (and therefore max width) in a list of multiple Person controls since I need to adjust the width of some static layout that needs a fixed px width. Currently I need to get the width after a timeout and hope all users have been loaded.
Preferred Solution
An event like loaded would be great.
The text was updated successfully, but these errors were encountered:
@ThomasPe this looks like a straightforward feature to add to all components that load data somehow. Would you be interested in contributing to it?
The components will need a custom event fired when data is loaded, updates on documentation to show this new event and an additional story for the use of the event in the playground.
This project is currently in maintenance mode, and the priority is on fixes and security issues. However, we still take any contributions from the community.
Proposal: Rendered / Loaded event for Person control
Description
Since many controls load data in the background it's not obvious from the outside when a control has completed loading / rendering it's content. So an event on controls like the Person control would be helpful that indicates the control has finished updating.
Rationale
For my usecase, I need to know the longest name (and therefore max width) in a list of multiple Person controls since I need to adjust the width of some static layout that needs a fixed px width. Currently I need to get the width after a timeout and hope all users have been loaded.
Preferred Solution
An event like
loaded
would be great.The text was updated successfully, but these errors were encountered: