While browsing this page, I noticed that it states the root element for scrollable items must be absolutely positioned. However, I encountered issues when attempting to resize the container for scrollable items based on the height of the scrolling child elements.
To resolve this issue, I decided to change the position from absolute to relative, allowing the container to adjust to the height of its child elements. This adjustment worked smoothly and the scrolling functioned properly across all browsers. Is there a specific reason why absolute positioning is required? Relative positioning seems to work effectively within the container. Any thoughts or insights would be greatly appreciated.
Thank you!