Fix dropdown filter (#34708) (#34711)

Partially backport #34708
This commit is contained in:
wxiaoguang 2025-06-13 10:31:12 +08:00 committed by GitHub
parent b9ed8fceff
commit b39f7a37d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -525,6 +525,7 @@ $.fn.dropdown = function(parameters) {
return true;
}
if(settings.onShow.call(element) !== false) {
settings.onAfterFiltered.call(element); // GITEA-PATCH: callback to correctly handle the filtered items
module.animate.show(function() {
if( module.can.click() ) {
module.bind.intent();