Open MarekLacoAXA opened 1 year ago
Hi! pls. allow the content of axa-modal to be scrollable, if content height exceeds the modal height.
(OR maybe better: expand the contents automatically to its full height)
Currently there is no scrollbar which confuses users when there's more content.
Thanks!
Here's a workaround I am using now in React to show vertical scrollbar.
/** * Within <axa-modal> makes content vertically scrollable */ export const ModalContentScrollable: React.FC<React.PropsWithChildren> = ({ children }) => { return ( <div style={{ maxHeight: '100%', overflowY: 'auto', overflowX: 'hidden' }}>{children}</div> );
Hi! pls. allow the content of axa-modal to be scrollable, if content height exceeds the modal height.
(OR maybe better: expand the contents automatically to its full height)
Currently there is no scrollbar which confuses users when there's more content.
Thanks!
Here's a workaround I am using now in React to show vertical scrollbar.