mirror of https://github.com/zulip/zulip.git
95aa9a4f83
Removes call to reset_compose_message_max_height when clicking on the markdown preview button, which due to the `#compose` div element momentarily shrinking to be empty, caused the calculation of the max-height to grow larger on each click. Also refactors reset_compose_message_max_height to use the height from `getBoundingClientRect`, which defaults to zero when empty. And fixes a small discrepancy in how max-height is applied to a div element vs a textarea element, so that the visible height doesn't change between the preview and write modes in the compose box. Fixes #23277. |
||
---|---|---|
.. | ||
assets | ||
audio/notification_sounds | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.gitignore |