GitbookIO/plugin-disqus

Disqus iframe takes full screen

Closed this issue · 3 comments

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

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

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

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