How to disable View Controls overlay fullscreen option

WebViewer Version:10.10.1

Do you have an issue with a specific file(s)?
Permanently removes the “Enter Full Screen” item from the View Controls overlay (works for 10.10.1 builds that render the overlay dynamically).
Can you reproduce using one of our samples or online demos?
Are you using the WebViewer server?
Does the issue only happen on certain browsers?
Is your issue related to a front-end framework?
Is your issue related to annotations?

Please give a brief summary of your issue:
(Think of this as an email subject)

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

Please provide a link to a minimal sample where the issue is reproducible:

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


To disable the “Enter Full Screen” option from the View Controls overlay in WebViewer 10.10.1, you can modify the WebViewer’s UI configuration to remove this feature. This involves accessing the UI components and altering their properties to exclude the full-screen option.

Some things you can try:

  • Access the UI components of WebViewer using the getInstance method after the WebViewer has been initialized.

  • Identify the View Controls component and modify its configuration to remove the full-screen button.

  • Adjust the layout or settings to ensure the changes are reflected in the UI.



Here are some resources that might help you:


Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hi there,

To remove the ‘Enter Full Screen’ button from the views drop down, please use the disableElement API:

instance.UI.disableElement('fullScreenButton')

Best regards,
Kevin

1 Like