adf-viewer - [overlayMode]

cancel
Showing results for 
Search instead for 
Did you mean: 
anakin59490
Established Member II

adf-viewer - [overlayMode]

Hi,

I try to show pdf content in modal :

  <div class="col-md-6">
    <adf-viewer
      [fileNodeId]="docNodeId"
      [showViewer]="true"
      [overlayMode]="false"
      [showToolbar]="true">
    </adf-viewer>
  </div>
</div>

If i set overlayMode to "true" it shows the viewer as full page.

But if I set it to false, i get only toolbar :



How can I resolve it ?

Thank you

6 Replies
eugenio_romano
Alfresco Employee

Re: adf-viewer - [overlayMode]

Hi, It's difficult to say like that. It could depend on your app styles 

Could you produce a sandbox to try, with the same issue?

anakin59490
Established Member II

Re: adf-viewer - [overlayMode]

You're right, there is too much css ans scss files in my project...I have found the problem but now, I get other style problem...I use bootstrap, material and alfresco css/scss files. so there are some conflicts.

anakin59490
Established Member II

Re: adf-viewer - [overlayMode]

Hi,

do you know how to init zoom parameter ?

eugenio_romano
Alfresco Employee

Re: adf-viewer - [overlayMode]

sorry, you can't

souhir_zr
Member II

Re: adf-viewer - [overlayMode]

are this methode true are not finaly ?

eugenio_romano
Alfresco Employee

Re: adf-viewer - [overlayMode]

sorry is not clear to me the question, can you articulate it more?