jquery / jquery-ui

The official jQuery user interface library.
https://jqueryui.com
Other
11.26k stars 5.33k forks source link

jquery ui hide / toggle 'blind' erratic behavior #2042

Open SimoB opened 2 years ago

SimoB commented 2 years ago

Description

I am not fully understanding why this simple code is not working, it's a simple accordion like thingy, I'm pretty sure it was working with previous version of jquery / jqueryui but with 3.5.1/1.12.1 and 3.6.0/1.13.0 it is not.

Link to test case

https://jsfiddle.net/apos2d3u/

SimoB commented 2 years ago

I understand I can do a similar (but not the same) thing using slideToggle / slideUp (and it's working) https://jsfiddle.net/Lks5fh3w/

mgol commented 2 years ago

Thanks for the report. I see exactly the same behavior with jQuery 3.5.1 & jQuery UI 1.12.1: https://jsfiddle.net/m_gol/8xp5oLec/2/.

I moved it to the jQuery UI bug tracker since the test case involves jQuery UI as well.

Since the issue is already in 1.12, given limited team resources it's not likely to be fixed by the UI team; see the project status at https://blog.jqueryui.com/2021/10/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/.