jQuery slideToggle jumps around

前端 未结 18 1294
迷失自我
迷失自我 2020-12-16 18:13

I\'m using the jQuery slideToggle function on a site to reveal \'more information\' about something. When I trigger the slide, the content is gradually revealed, but is loc

18条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-16 18:58

    I've encountered the same error, solved it by positioning the element with position: relative; width: 709px; The fixed width did the trick.

提交回复
热议问题