zulip/frontend_tests
Lauryn Menard 95aa9a4f83 compose-box: Remove reset max-height calculation for preview click.
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.
2022-10-25 13:49:29 -07:00
..
node_tests compose-box: Remove reset max-height calculation for preview click. 2022-10-25 13:49:29 -07:00
puppeteer_lib dependencies: Remove formdata-node, node-fetch. 2022-10-11 10:50:57 -07:00
puppeteer_tests recent-topics: Rename to "Recent conversations" in web-app and docs. 2022-10-21 10:28:19 -07:00
zjsunit zjsunit: Support asynchronous overrides. 2022-08-18 16:21:04 -07:00