You're absolutely right - I was making assumptions about components that may not accept those style props. Let me provide a cleaner solution using only standard HTML elements and CSS.
Set scrollable={false} on the Offcanvas to prevent the entire modal from scrolling
Used only standard div elements with inline styles - no assumptions about Panel/PanelContent accepting style props
Fixed height calculation for the table container using calc() to subtract the approximate height of header and search bar
Applied overflowY: 'auto' only to the table container div
You may need to adjust the 200px value in the calc() function based on the actual height of your header and search bar. This approach keeps the pager visible while allowing only the table body to scroll.