mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
This commit fixes an issue where the button height increases while it has the spinner on modals with long text on the submit button. The issue occurred due to the button height being calculated after hiding the span element, which resulted in an incorrect height. To overcome this, the commit suggests computing the span element's height before hiding it to ensure that the button height is accurately set.