• Resolved M P

    (@machian)


    The plugin is working great but I need to find a way to disable horizontal drag.

    I’m implementing a before/after image comparison slider (https://github.com/koenoe/cocoen) inside the lightbox so now when I drag the slider, the whole lightbox moves. I tried to disable touch functionality but it doesn’t help.

    Is there any way to make the lightbox fully static?

Viewing 1 replies (of 1 total)
  • Thread Starter M P

    (@machian)

    It’s WIP page so I don’t have a link for you.

    But I did solve the problem with some hackety hack CSS:

    .fancybox-slide {
        transform: translate(0,0) !important;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘How to disable horizontal drag?’ is closed to new replies.