question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Edit Message box going out of focus on topic edit.

See original GitHub issue

When editing a message, it is possible to lose the content of the one’s drafted edit mid-message as follows:

  • Start editing a message
  • Another user moves the topic, triggering a rerender of your view (preserving the message edit box, but likely losing your keyboard focus)
  • You hit t or some other single-letter keyboard shortcut that navigates away from the current view.
  • (The back button may show you your partially-composed edit, but this is very non obvious).

We should arrange to avoid losing keyboard focus. The logic for this is surely somewhere in message_edit.js.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
timabbottcommented, Apr 13, 2021

@LoopThrough-i-j I rewrote the description to provide a much more clear reproduction recipe.

0reactions
LoopThrough-i-jcommented, May 22, 2021

@timabbott, @amanagr please have a look when you have some time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

A message box that never loses focus - c++ - Stack Overflow
I experimented with WM_SETFOCUS, WM_KILLFOCUS, WM_NCACTIVATE, SetForegroundWindow, SetFocus, but had no luck so far.
Read more >
how to set TextEdit focus after messagebox.show()
Hello, It seems that this behavior doesn't relate to our editor directly. I was able to reproduce this issue using a native TextBox...
Read more >
Focused Inbox for Outlook - Microsoft Support
Change how your messages get organized. From your inbox, select the Focused or Other tab, and then right-click the message you want to...
Read more >
the input-box lose focus after call window.alert('...') #19977
I have searched the issue tracker for an issue that matches the one I want to file, without success. Issue Details. Electron Version:...
Read more >
The Message Box Workbook
Your goal as you fill out your Message Box is to idenUfy the. informaUon that is criUcal to ... protect many species -...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found