user5683130
user5683130

Reputation:

Jquery UI animations do not occur on hidden elements

In HTML, when I hide DOM element, jQuery UI is sometimes not working.

For example, .slideDown() and .slideUp() will fail to run.

What is the reason for this behavior?

Upvotes: 3

Views: 39

Answers (1)

JengGe Chao
JengGe Chao

Reputation: 160

Because jqueryui sometimes not working with hidden element. So when you want to use JqueryUI, first you have to display hidden element and then slidedown.

Upvotes: 2

Related Questions