jquery - slideToggle not smooth

前端 未结 2 358
慢半拍i
慢半拍i 2021-01-13 10:57

I have a problem with the slideToggle function in jQuery. It is not smooth at all. Whenever I click the \"See More\" button, the content that shoul

相关标签:
2条回答
  • 2021-01-13 11:27

    Table Rows don't seem to slide. You should try to find a workaround by using DIV instead. They slide and animate much better. You could also wrap the content into a div, and slide that? Maybe that would push the table row to imitate a slide.

    0 讨论(0)
  • 2021-01-13 11:37

    You are running a slideToggle on a table row. Table rows do not play nice with some css. This means in some cases, it will not slide, but just show up when it is finally visible.

    0 讨论(0)
提交回复
热议问题