@bobfrankston/rmfmail 1.1.125 → 1.1.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/app.bundle.js +2 -1
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +10 -0
- package/client/app.js.map +1 -1
- package/client/app.ts +9 -0
- package/client/components/message-viewer.js +12 -5
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +12 -5
- package/client/compose/compose.bundle.js +4 -14
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/compose/spellcheck.js +23 -19
- package/client/compose/spellcheck.js.map +1 -1
- package/client/compose/spellcheck.ts +22 -18
- package/client/index.html +1 -0
- package/package.json +13 -73
- package/packages/mailx-store/db.d.ts.map +1 -1
- package/packages/mailx-store/db.js +17 -3
- package/packages/mailx-store/db.js.map +1 -1
- package/packages/mailx-store/db.ts +16 -2
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-30208 → node_modules.npmglobalize-stash-90024}/.package-lock.json +0 -0
package/client/app.js
CHANGED
|
@@ -3204,6 +3204,16 @@ document.addEventListener("keydown", (e) => {
|
|
|
3204
3204
|
const active = document.activeElement;
|
|
3205
3205
|
if (active && (active.tagName === "INPUT" || active.tagName === "TEXTAREA" || active.tagName === "SELECT"))
|
|
3206
3206
|
return;
|
|
3207
|
+
// Respect focus: if the preview iframe or the folder tree has
|
|
3208
|
+
// focus, arrows should scroll/navigate that pane — not hijack to
|
|
3209
|
+
// list navigation. The viewer's iframe forwards every keydown to
|
|
3210
|
+
// the parent for hotkey unification; here we bail so the iframe's
|
|
3211
|
+
// own preventDefault chain leaves the native arrow-scroll alone
|
|
3212
|
+
// (Bob 2026-05-22: "arrow keys should work in the window with focus").
|
|
3213
|
+
if (active && (active.tagName === "IFRAME"
|
|
3214
|
+
|| active.closest?.("#message-viewer")
|
|
3215
|
+
|| active.closest?.("#folder-tree")))
|
|
3216
|
+
return;
|
|
3207
3217
|
const body = document.getElementById("ml-body");
|
|
3208
3218
|
if (!body)
|
|
3209
3219
|
return;
|