In Chrome, page won't resize after Ajax load

后端 未结 7 1656
逝去的感伤
逝去的感伤 2021-02-15 21:10

I\'ve been feverishly CSSing my way through the final leg of a site I\'m building and I\'m running into an odd quirk with Chrome only. FF and IE seem to work fine.

I a

7条回答
  •  太阳男子
    2021-02-15 21:30

    Exactly same problem I encountered, and the answer I came about is no.

    I only managed to fix this by checking the height of the new div with the new content after AJAX load, and setting the correct height with with jQuery.

    It would be really good if someone could find a way to force an auto resizing, but meanwhile this solution worked perfectly regardless of the amount of content.

提交回复
热议问题