• I added a media upload field using Custom Content Type Manager . After I upload a file or close the media upload modal, the page stops scrolling. A class added to body tag ( .modal-open ) is still present which has style overflow:hidden . How can I solve this issue effectively ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Suman A S

    (@sumancooljb)

    By changing overflow hidden to overflow scroll for body.modal-open class in the wordpress/wp-admin/wp-admin.min.css file, I was able to solve the issue. Please suggest if there is any better method. For others having the same issue can use this idea.

    Confirmed. I was also seeing this bug and the above fix also worked for me. Thanks!

    Same here, but we’d rather not mess with core files. Everett, have you seen this?

    Hi, I’m also seeing this on WordPress v4 but with image fields. Also, when I save my page/post, the image field custom content is not updated. Has anyone also got this problem?

    Add:

    body.modal-open {
        overflow: visible;
     }

    to:
    wp-content/plugins/custom-content-type-manager/css/manager.css

    This fixes the issue for me. No core edit either.

    Or add an event to the close event to set the overflow to visible. This seems to be the issue.

    That helped, but only if I add !important to it. Nevertheless this is a nasty bug Plugin Author!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘After media upload modal is closed, page scroll is not working’ is closed to new replies.