Fancybox jump to top after close button clicked with while working on a site included reset.css. because reset.css conflict with fancybox.js
below is the solution :-
html {
font-size: 100%;
overflow-y: scroll;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
Above code’s overflow conflict with overflow-y on reset.css with overflow:hidden in fancybox.js but i had found solution on fancybox site which solve this problem.
$('element').fancybox({
padding: 0,
helpers: {
overlay: {
locked: false
}
}
});