@bobfrankston/rmfmail 1.2.165 → 1.2.166

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.
@@ -4206,10 +4206,18 @@ setActiveEditorBadge(activeEditorType);
4206
4206
  var fromInput = document.getElementById("compose-from-input");
4207
4207
  var fromOptions = document.getElementById("compose-from-options");
4208
4208
  if (fromInput) {
4209
+ const openFromPicker = () => {
4210
+ try {
4211
+ fromInput.showPicker?.();
4212
+ } catch {
4213
+ }
4214
+ };
4209
4215
  fromInput.addEventListener("focus", () => {
4210
4216
  fromInput.dataset.prevFrom = fromInput.value;
4211
4217
  fromInput.value = "";
4218
+ openFromPicker();
4212
4219
  });
4220
+ fromInput.addEventListener("click", openFromPicker);
4213
4221
  fromInput.addEventListener("blur", () => {
4214
4222
  if (fromInput.value.trim() === "" && fromInput.dataset.prevFrom) {
4215
4223
  fromInput.value = fromInput.dataset.prevFrom;