As there was a related issue in the rhandsontable github I also submitted this there (https://github.com/jrowen/rhandsontable/issues/260#issuecomment-424717589), but I'm not sure whether it's something to do with rhandsontable, or how modals work in Shiny, or...more likely.... my setup ¯_(ツ)_/¯
The problem is when rhandsontable is within a modal dialog the right-click context menu is not displayed.
Reprex below:
Where is the IDBacApp library so that I can run this as well? With an existing issue in rhandsontable, I'm going to guess the issue is there and not in your setup.
Thanks! My bad. I reduced those functions and put them at the top of the app above. You should be able to just remove IDBacApp:: . I'll test that to make sure when I get to my computer.
The table was being displayed, it was just behind the modal box.
handsontable currently sets a z-index (which controls what html elements are placed on top of each other) that is not high enough when used inside a modal dialog.
The modal has a z-index of 1050. If we set the helper table to have a z-index, say, 1051, it'll be placed on top of the modal.
Updated ui code to make the helper table appear on top of the modal dialog...