Can you reproduce using one of our samples or online demos?
Yes
Are you using the WebViewer server?
No
Does the issue only happen on certain browsers?
No
Is your issue related to a front-end framework?
Yes
Is your issue related to annotations?
No
Please give a brief summary of your issue:
I would like to disable the Pop-up menu that can shown up next to a section from the Outlines view (see the attached image).
I know I can hide controls based on their data-element id but in this case the data element id is indexed according to the position of the section in the outlines, so for the first one it is outline-more-button-0, the second is outline-more-button-1 etc.
And I don’t know beforehand the number of sections the rendered PDF will have.
Is there a way I could hide the button which displays the More Options pop-up menu?
Hello, I’m AiRon, an automated tech support bot While you wait for one of our customer support representatives, I can help you with your question.
To hide the “More” button from the outlines in WebViewer, you can use CSS to target the class or attribute of the button instead of relying on the data-element id, which changes based on the position. This approach allows you to hide all instances of the button regardless of the number of sections in the outlines.
Some things you can try:
Use CSS to target the common class or attribute of the “More” buttons in the outlines panel.
Add a custom style to your application that sets the display property of these buttons to none.
Inspect the element in the browser’s developer tools to find a consistent class or attribute that applies to all “More” buttons.