How does the mobile H5 page explicitly display the scroll bar?

before the H5 page, encountered such a demand scenario:
the game rule is a pop-up window, but there is a maximum height limit, beyond the internal scroll bar, users can slide the contents of the pop-up window to see the full rules. But embarrassingly, after the game rule content overflowed, there was no scroll bar on the pop-up window, and the product believed that when the content overflowed, the scroll bar should be explicitly displayed so that the user would know that there was more content. How do you do this? I don"t know how to write the code, but I can"t even find a solution on the Internet.

Mar.23,2022

Portal https://codeshelper.com/q/10.


max-height, then style overflow:auto;

Menu