[Modal] #4196 Disable refreshing for non active/animated modals
@ -290,7 +290,7 @@ $.fn.modal = function(parameters) {
}
},
resize: function() {
if( $dimmable.dimmer('is active') ) {
if( $dimmable.dimmer('is active') && ( module.is.animating() || module.is.active() ) ) {
requestAnimationFrame(module.refresh);