prevent Default Context Menu
If set to true, the reading system will prevent the default "right-click" and "long-press" context menus to be shown for publication content.
In order to prevent the default "right-click" and "long-press" context menus for your app content, you need to listen on the browser contextmenu
event and call event.preventDefault()
;
IMPORTANT: Please note that this option does not work on iOS and iPadOS. There is no Web API available to prevent the context menu from being shown on those platforms. A workaround is to disable user content selection with ReaderView.setContentSelectionEnabled(false)
.
If you are using the Colibrio Reader Framework for iOS, then please use ColibrioView.setAllowedCalloutActions()
instead.