Support » Plugin: Camera slideshow » Scroll breaks after opening media library dialog

  • After opening the dialog to choose a photo and either clicking the close button or clicking Insert into Post button, the page scrolling isn’t working. Looks like the overflow:hidden; property isn’t being removed properly. Is this WordPress’ fault or the plugin’s?

    https://wordpress.org/plugins/camera-slideshow/

Viewing 1 replies (of 1 total)
  • Thread Starter Sam

    (@figaroo)

    The pix_thickbox.js script is the cause of the problem. All this script does is overwrite the already defined tb_remove function, but it does so forgetting the removal of the modal-open class on the body element. Why is this file necessary? WP already defines this tb_remove function. I commented this file out and things are working better now. Scroll will resume back to normal after closing the modal window.

    Is there a github page for this project so that way I can give you pull-requests for these fixes that I’m doing?

Viewing 1 replies (of 1 total)
  • The topic ‘Scroll breaks after opening media library dialog’ is closed to new replies.