mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
message_scroll: Use CSS transition for scroll to bottom button.
We are abandoning jQuery animation because it build up queue when there is continous switch in animation state. i.e When user goes ↑↓↑↓↑↓… at the bottom. Also added `aria-hidden` to `#scroll-to-bottom-button-container` so that this widget doesn't interfere with screen readers.
This commit is contained in:
@@ -172,7 +172,7 @@ export function make_compose_box_full_size() {
|
||||
|
||||
$(".collapse_composebox_button").show();
|
||||
$(".expand_composebox_button").hide();
|
||||
$("#scroll-to-bottom-button-container").hide();
|
||||
$("#scroll-to-bottom-button-container").removeClass("show");
|
||||
$("#compose-textarea").trigger("focus");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user