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
The size of a dialog should adapt to the content to prevent scrolling (dialog too small) or unnecessary whitespace (dialog too large) or adapt to content dynamically if eg form field are added or removed based on user input
Reasons
Especially in use cases where form fields are added / removed based on user input a fixed dialog size leads to either scrollbars (if dialog is too small ) or unneccessary whitespace (if dialog is too large).
Attachments
In this example the
"Vault Credential Store (optional):" formfield is available/not available based on different users
Unnessessary Whitespace
Scrollbar
The text was updated successfully, but these errors were encountered:
Setting the modal size from within the micro frontend is already possible by executing e.g. LuigiClient.linkManager().updateModalSettings({width: '200px', height: '220px'}).
Since Luigi core doesn't know anything about the rendering internals of an iframed micro frontend, especially when exactly everything is loaded and rendered and the mfe view has its "final" size, the calculation and adjustment should be handled by the micro frontend code.
Description
The size of a dialog should adapt to the content to prevent scrolling (dialog too small) or unnecessary whitespace (dialog too large) or adapt to content dynamically if eg form field are added or removed based on user input
Reasons
Especially in use cases where form fields are added / removed based on user input a fixed dialog size leads to either scrollbars (if dialog is too small ) or unneccessary whitespace (if dialog is too large).
Attachments
In this example the
"Vault Credential Store (optional):" formfield is available/not available based on different users
Unnessessary Whitespace
Scrollbar
The text was updated successfully, but these errors were encountered: