• Resolved nightbook

    (@nightbook)


    A client of mine had issues with scrolling the fancybox on touch screens, I’ve been able to reproduce on iPhone 4, iPad and iOS Simulator and wanted to let you know.
    To work around it as it involved more than screensize I utilized Modernizr and the Touch Event conditional.

    $(function(){
    		if (Modernizr.touch) {
    		    $(document).off('ready', easy_fancybox_handler);
    		}
    	});

    Hope that’s helpful to someone.
    Cheers

    https://wordpress.org/plugins/easy-fancybox/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Disable Fancybox for Touch’ is closed to new replies.