Reputation: 457
I've been using Fancybox < 2.0 until now, and I set centerOnScroll to false on mobile devices because otherwise it's impossible to fill out a form on a fancybox overlay, it just moves around like crazy once you focus on the text fields.
I just updated to Fancybox 2.0 http://fancyapps.com/fancybox/ and I don't see this option in the documentation. Is it gone? Because it's totally necessary, I think. Any idea, if it's gone, of what could I change in the code to make this happen?
Thanks!
Upvotes: 1
Views: 2347
Reputation: 41143
For fancybox v2.x the API option is "fixed
" so
what it was in v1.3.x
'centerOnScroll': false
in v2.x is now
fixed: false
Options in v1.3.x are not compatible with v2.x options, so you need to upgrade all your API options when migrating from v1.3.x (or better start from scratch)
Upvotes: 5