overflow-y scroll always show even it not overflow

前端 未结 2 1956
一整个雨季
一整个雨季 2021-02-13 11:01

I\'m doing \"Scroll JQuery Mobile Panel Separately From Content\" ,what I have done

I apply this css to Achieve what I do but the problem is

overflow-y : scroll

2条回答
  •  猫巷女王i
    2021-02-13 11:07

    Try using overflow: auto instead. That will only show scrollbars when the content overflows the normal height, whereas overflow: scroll will show them all the time.

提交回复
热议问题