zulip/web
Tim Abbott 4e2a282a1b narrow: Open compose box before rendering main message feed.
As discussed in the new comments, we had a bug where the
system-initiated animated scroll that happens when the compose box
opens as a result of narrowing would race with the internal
rerendering that occurs when the message_fetch request asking the
server for additional data returns.

The correct fix for this is just to open the compose box, if we're
going to do so, before setting the user's scroll position in the
narrowing/rendering process.

This ends up being a UI improvement (in that the compose box is
available for typing a bit earlier) as well as avoiding both the risk
of this race as well as the bad UX of adjusting the user's scroll
position multiple times as part of entering the view.

This does not address an as-yet-unknown bug wherein the animated
scroll that occurs when opening the compose box, when racing with a
background rerender, results in a bogus ending scroll position, though
it's easy to see how that might occur given that rerendering does
clear the DOM briefly.
2024-02-01 12:03:30 -08:00
..
e2e-tests eslint: Fix @typescript-eslint/no-unnecessary-type-assertion. 2024-01-29 16:14:26 -08:00
generated
html
images portico: Remove screenshots from /apps. 2024-01-31 16:10:32 -08:00
shared typeahead: Prefer word boundary matches to arbitrary substring matches. 2024-01-29 17:24:11 -08:00
src narrow: Open compose box before rendering main message feed. 2024-02-01 12:03:30 -08:00
styles portico: Center hero content on /apps. 2024-01-31 16:10:32 -08:00
templates settings: Fix buggy conversion of emoji-display-settings-status. 2024-01-31 13:07:26 -08:00
tests narrow: Open compose box before rendering main message feed. 2024-02-01 12:03:30 -08:00
third css: Remove bootstrap css for "fade" class. 2024-01-29 09:55:32 -08:00
.browserslistrc
.gitignore
babel.config.js dependencies: Upgrade JavaScript dependencies. 2023-12-07 14:29:32 -08:00
debug-require-webpack-plugin.ts eslint: Fix @typescript-eslint/no-confusing-void-expression. 2023-12-21 16:14:40 -08:00
debug-require.js
postcss.config.js
webpack.assets.json bootstrap: Fork CSS into app, portico copies. 2024-01-28 15:07:36 -08:00
webpack.config.ts webpack_public_path: Replace with webpack 5 publicPath: "auto" setting. 2023-10-16 10:36:27 -07:00
webpack.dev-assets.json development: Update modal in emails page to use micromodal. 2023-10-05 09:28:27 -07:00