问题
On Mac Safari and Chrome, this dark select box appears correctly:
In iOS Safari, it gets cut off at the border of the selected div:
What could make that happen? Here are the styles of the selected parent:
and on the select box:
回答1:
One of the parents of the select box had overflow-y hidden.
来源:https://stackoverflow.com/questions/29551733/what-causes-a-parent-container-to-cut-off-content-in-child-element