We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At first, I post this issue for FancyBox issue tracker, but FancyBox owner closed issue without solve.
I click to image → make some actions in FancyBox menu (run slideshow for example):
page scroll to top.
I have this behavior for Gemini scrollbar and no reproduce for native browser scrollbars.
I don't reproduce a bug for browsers native scrollbar.
I reproduce the problems in browsers versions without addons and users settings:
I post this information, because I have strange behavior.
If I record GIF:
problem not reproduced. I can record GIF from about tenth attempt.
Else:
problem reproduced quickly, almost immediately after the start of the FancyBox slideshow.
(Yes, it minimal example)
I open my demo page → I scroll page to any image → I run FancyBox slideshow.
If default scrollbar:
no scrolling to top of page.
See examples here and here.
Else Gemini scrollbar:
scrolling to page top. See GIF from MCVE for example.
I read many similar questions → try solutions from answers and comments → no effect.
$.fancybox.defaults.hideScrollbar = false; as @fancyapps say
$.fancybox.defaults.hideScrollbar = false;
$.fancybox.defaults.autoFocus = false; as @fancyapps say
$.fancybox.defaults.autoFocus = false;
Dave Kiss most popular Stack Overflow answer
@sohel-ahmed-ansari variant
@theexpand and @hsobhy variants
@Joeran answer. I try modified it to Gemini methods → also no effect.
$('.KiraNotLazy').fancybox({ beforeLoad: function(){ internals.scrollbar.destroy(); }, afterClose: function(){ internals.scrollbar.update(); } });
Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At first, I post this issue for FancyBox issue tracker, but FancyBox owner closed issue without solve.
1. Summary
I click to image → make some actions in FancyBox menu (run slideshow for example):
page scroll to top.
I have this behavior for Gemini scrollbar and no reproduce for native browser scrollbars.
I don't reproduce a bug for browsers native scrollbar.
2. Environment
2.1. Scripts
2.2. Tested browsers
I reproduce the problems in browsers versions without addons and users settings:
2.3. Screencast writing
I post this information, because I have strange behavior.
If I record GIF:
problem not reproduced. I can record GIF from about tenth attempt.
Else:
problem reproduced quickly, almost immediately after the start of the FancyBox slideshow.
3. MCVE
(Yes, it minimal example)
4. Steps to reproduce
I open my demo page → I scroll page to any image → I run FancyBox slideshow.
5. Expected behavior
If default scrollbar:
no scrolling to top of page.
See examples here and here.
6. Non-expected behavior
Else Gemini scrollbar:
scrolling to page top. See GIF from MCVE for example.
7. Not helped
I read many similar questions → try solutions from answers and comments → no effect.
$.fancybox.defaults.hideScrollbar = false;
as @fancyapps say$.fancybox.defaults.autoFocus = false;
as @fancyapps sayDave Kiss most popular Stack Overflow answer
@sohel-ahmed-ansari variant
@theexpand and @hsobhy variants
@Joeran answer. I try modified it to Gemini methods → also no effect.
Thanks.
The text was updated successfully, but these errors were encountered: