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
I am wondering if there are any guidelines around how to ensure that a web part with dynamic height works in the new flexible sections? For example, on initialization the flexible section seems to respond to the initial rendering state of a web part so that it fits. However, if the web part changes height based on user interaction (e.g. a "more" button is clicked, which shows more items that expands the height of the web part), then the flexible section does not change and the web part breaks out and overflows the section container.
A similar issue might be a web part where the height cannot be accurately approximated on initialization until an API call returns data. This type of scenario can also trigger the issue above where the web part overflows the section container.
Should flexible sections be able to adjust automatically in this type of scenario or do we need to somehow intercept and fire some kind of event to force resize the section?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am wondering if there are any guidelines around how to ensure that a web part with dynamic height works in the new flexible sections? For example, on initialization the flexible section seems to respond to the initial rendering state of a web part so that it fits. However, if the web part changes height based on user interaction (e.g. a "more" button is clicked, which shows more items that expands the height of the web part), then the flexible section does not change and the web part breaks out and overflows the section container.
A similar issue might be a web part where the height cannot be accurately approximated on initialization until an API call returns data. This type of scenario can also trigger the issue above where the web part overflows the section container.
Should flexible sections be able to adjust automatically in this type of scenario or do we need to somehow intercept and fire some kind of event to force resize the section?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions