11
Views
2
Comments
Solved
[PDF JS + Annotations] Hiding Right Toolbar on Mobile Devices
Question
pdf-js-annotations
Reactive icon
Forge asset by Raphael Ranieri
Application Type
Reactive

Hi,

I'm trying to implement this plugin into mobile app. 

It works, but the main problem is the right toolbar selections. I disabled download, open, and print buttons but it still shows up and the function still works in the list as per screenshot. (tried on web emulator. On mobile only open file function works)

Is it unavoidable behavior of PDFJS, or is there any setting that I can override?

Any informations and insights are very appreciated

Thanks!


Screenshot 2023-11-23 172143.png
2020-11-10 23-58-16
Raphael Ranieri
 
MVP
Solution

Hey @Billy Suherman ,


Sorry for the delay in answering.


I uploaded a new version of the component in Forge that has now the ability to control the elements in the secondary toolbar as well, which is what you want to customize.


I also uploaded a demo App to use it with Mobile if you want to have a look.

Let me know if you have any other issues.

RR 

UserImage.jpg
Billy Suherman

Hi Raphael,

It works perfectly. Thanks!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.