GitbookIO / plugin-disqus

Disqus comments on your books
Apache License 2.0
53 stars 21 forks source link

Disqus iframe takes full screen #9

Closed hhkaos closed 5 years ago

hhkaos commented 7 years ago

I'm using this plugin here.

I don't understand why somethings when I'm browsing the book, this plugins suddenly takes the whole screen and I can not keep browsing because I can not click any link (there is an "overlay" <- the iframe on top of them), as you can see here:

2017-02-16_1024

There is a warning in the console, but it is there sometime and the book works with it. If I refresh the page normally it get fixed, but then if you keep browsing... and at some point in time it happens again.

Any ideas? (I guess it is because the DOM is not fully loaded when the plugin trigger the function to inject the disqus-plugin, is it?) How can I fix it?

I'm using this plugin though gitbook.com and it never gave me that problem. These are the plugins I'm using in this book.

Best regards, Raul

iplus26 commented 5 years ago

Same here. Found that we both used "collapsible-menu", and I replaced it with "toggle-chapters" and works like charm

hhkaos commented 5 years ago

Awesome! I'll try that then! Thx!!

hhkaos commented 5 years ago

Thanks @iplus26 !! I think it has fixed it!