Open AndyHolt opened 6 months ago
Hi @AndyHolt, Sorry for slow response. We're looking into this problem, thanks for reporting! we will report back here if we have an investigation.
hi @AndyHolt , thanks for reporting this issue. We tried arrow key move and it's true that sometimes the key move around the boundary is not triggering the event (when we move the selection just 1 position outside the content control, acturally this is also true for mouse move). We will update the thread once we found the root cause. Thanks.
hi @AndyHolt , for this issue we have internally made a fix and now it's under the process of validation and deployment rollout. It should be available early next month with the latest M365 office update, please update your Office to the latest and have a try then. Thanks.
Great, thanks very much!
Provide required information needed to triage your issue
Your Environment
Expected behavior
When cursor is in a Content Control, using arrow keys to move out of the content control triggers
contentControlExited
event when cursor leaves the content controlCurrent behavior
Currently,
contentControlExited
event is triggered as expected when mouse used to click outside of the content control, but on Word on Mac, using the arrow keys does not consistently trigger the event (it does sporadically). In Office on the Web, both clicking outside and using the arrow keys to move outside the content control consistently trigger thecontentControlExited
event.The same appears to be true of
contentControlEntered
event, though I haven't tested this so rigorously.Steps to reproduce
In Word Add-On, add function to run when content control exited. E.g.
})