In Chrome, page won't resize after Ajax load

后端 未结 7 2194
南方客
南方客 2021-02-15 21:04

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:46

    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.

提交回复
热议问题