Mawa1976's avatar
Mawa1976
Brass Contributor
Feb 23, 2024
Status:
New

Set selection AND focus back to document after action in MS-Word web-addin pane

in our Word web-addin, a user can click a button to apply a style in the activedocument. 

Before the user can continue typing, he must first click in the document.

it would be great if we can call a method in the Javascript API to put the focus back to the document window after clicking a button in the addin

4 Comments

  • yolen1234's avatar
    yolen1234
    Copper Contributor

    This is a major issue for our (Word) add-in customers. They are experienced Word users that use Word throughout their work day. Without this capability they have to grab the mouse and click to continue working many, many times a day. Please see the Github issue hee for more details and history: https://github.com/OfficeDev/office-js/issues/316#issuecomment-3131963751

  • nlid's avatar
    nlid
    Brass Contributor

    I am also encountering this issue in Word. A function in the API that lets us shift focus back to the Office application is a must have in terms of UX

  • eskaarup's avatar
    eskaarup
    Copper Contributor

    This is a major problem from a UX perspective - we need this to work...