Excel.run() Operations Blocked While Data Validation Dropdown Is Open #4936
Labels
Area: Excel
Issue related to Excel add-ins
Needs: attention 👋
Waiting on Microsoft to provide feedback
Description:
I'm developing an Excel add-in using Office.js and I've encountered a problem when a data validation dropdown (list) is open in a cell. While the dropdown is open, all operations triggered via
Excel.run()
are queued and remain in a waiting state until the dropdown is closed by the user.I would like to be able to either:
Excel.run()
operations to execute while a dropdown is open, orCurrently, it seems that Excel enters a modal state while the dropdown is open, preventing any Office.js operations from executing until the interaction is finished. This causes delays in my add-in when users interact with cells that have data validation lists.
Steps to Reproduce:
Excel.run()
operation, such as setting a value in another cell, while the dropdown is still open.Expected Behavior:
Excel.run()
operations to execute without being blocked, even when a dropdown list is open in a cell.Actual Behavior:
Excel.run()
operations remain in a waiting state until the user closes the dropdown.Example Code:
Possible Workarounds:
I've tried some workarounds, such as retrying operations after a delay or handling
onSelectionChanged
events, but these are not ideal because they do not solve the issue of detecting the dropdown's modal state.Environment:
Request:
The text was updated successfully, but these errors were encountered: