zulip/web
Lauryn Menard 561902b180 message-list-view: Update sticky header in rerender_messages.
When a message list view rerenders a locally echoed message the
message recipient header is also rerendered, which then removes
the "sticky_header" class if it was present. If rerendering the
message triggers a non-user initiated scroll event, then the
"sticky_header" class is updated.

But it is possible that the rerendering of the message will not
trigger a scroll event, which means the recipient header is no
longer updated and the next calculation for the message list
view's _scroll_limit for the top of the feed will not include the
sticky header and the currently selected message may be scrolled
partially or completely under the message header recipient bar.

In message_list_view.rerender_messages, adds a check, after calling
_rerender_header in a loop, for the current message list and calls
update_sticky_recipient_headers if the message feed is visible.

Adds a comment to _rerender_header that we expect it to only be
called in rerender_messages so that the "sticky_header" class is
updated if needed.
2023-07-11 14:20:19 -07:00
..
e2e-tests message_view_header: Fix bad rendering of stream links in description. 2023-07-10 13:47:22 -07:00
generated
html
images compose: Add DM icon to the recipient dropdown. 2023-04-27 17:04:19 -07:00
shared ts: Convert `poll_data` to typescript. 2023-07-06 16:21:52 -07:00
src message-list-view: Update sticky header in rerender_messages. 2023-07-11 14:20:19 -07:00
styles move_topic_to_stream: Migrate to use tippy dropdown widget. 2023-07-11 13:37:50 -07:00
templates move_topic_to_stream: Migrate to use tippy dropdown widget. 2023-07-11 13:37:50 -07:00
tests user_groups: Remove "@" from name of role-based system groups. 2023-07-11 13:46:02 -07:00
third bootstrap: Remove CSS for "text" type input elements. 2023-07-07 10:10:28 -07:00
.browserslistrc webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00
.gitignore
babel.config.js eslint: Expand no-unused-vars check to all function parameters. 2023-07-02 16:16:38 -07:00
debug-require-webpack-plugin.ts
debug-require.js
postcss.config.js postcss: Enable postcss-preset-env. 2023-03-20 11:26:30 -07:00
webpack.assets.json ts: Convert `web/src/billing` module to TypeScript. 2023-06-23 11:42:29 -07:00
webpack.config.ts dependencies: Upgrade JavaScript dependencies. 2023-06-05 21:51:26 -07:00
webpack.dev-assets.json webpack: Move webpack configuration to web. 2023-02-24 06:35:58 -08:00