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
Hi there I saw that modal top is wrongly counted when I lunch the reveal from the containing div with relative position.
top
modal.css({'top': $(document).scrollTop() - topOffset, 'opacity': 0, 'visibility': 'visible'});
https://github.com/zurb/reveal/blob/master/jquery.reveal.js#L44
That brings that the modal and background are displayed well but the modal is chopped of from the top. Most of it displays above the body element.
When I add console log to the
topOffset & topMeasure the topOffset were 30px but topMeasure goes to negative (-1000px)
topOffset
topMeasure
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there I saw that modal
top
is wrongly counted when I lunch the reveal from the containing div with relative position.https://github.com/zurb/reveal/blob/master/jquery.reveal.js#L44
That brings that the modal and background are displayed well but the modal is chopped of from the top. Most of it displays above the body element.
When I add console log to the
topOffset
&topMeasure
thetopOffset
were 30px buttopMeasure
goes to negative (-1000px)The text was updated successfully, but these errors were encountered: