0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 10:42:34 +08:00
discourse/frontend
Renato Atilio 266a410858
FIX: Restore keyboard state when a modal autofocus interrupts a hide
Tapping a composer toolbar control that opens a modal blurs the editor;
if the modal autofocuses its input after the focus-settle window, the
hide is inferred and torn down, and the refocus then cancels the OS
keyboard animation — the unchanged viewport never reports back. The
page is left believing the keyboard is gone while it stays up, and the
modal drifts past the top edge (d-modal only corrects iOS scroll on a
visible=true event).

A focus landing on a keyboard-summoning field within the confirm window
of an inferred hide now restores the keyboard state even when the tap
didn't land on the field itself. The armed geometry check still reverts
the restore if no keyboard is actually present, and a real viewport
report clears the window.
2026-07-28 16:40:35 -03:00
..
asset-processor DEV: add typescript support for core, themes and plugins (#41478) 2026-07-08 12:57:18 +01:00
deprecation-silencer
discourse FIX: Restore keyboard state when a modal autofocus interrupts a hide 2026-07-28 16:40:35 -03:00
discourse-i18n DEV: add typescript support for core, themes and plugins (#41478) 2026-07-08 12:57:18 +01:00
discourse-markdown-it DEV: Bump eslint/lint-configs, and correct violations (#41321) 2026-07-01 10:39:57 +01:00
discourse-types DEV: Use bundler module resolution for @discourse/types consumers (#41661) 2026-07-13 21:43:39 -03:00
pretty-text FIX: clean up onebox loading decorations on fetch failure (#39277) 2026-07-23 19:50:41 -03:00
.npmrc
polyfills.js