Giter VIP home page Giter VIP logo

Comments (8)

vodkabears avatar vodkabears commented on July 25, 2024

@abacaj1 It shouldn't do that. I've tested - no problems. Are you using the last version? And how have you disabled hashTracking? Try this: <div class="remodal" data-remodal-id="modal" data-remodal-options='{ "hashTracking": false }'>

from remodal.

abacaj avatar abacaj commented on July 25, 2024

Thanks for the swift reply. I changed it from the lines
var pluginName = "remodal", defaults = { hashTracking: false };

Yes it is the latest pull from git.

The modal pops up and then scrolls to the top of the page. Is there any way to prevent this from modals that have links at the bottom of the page?

from remodal.

vodkabears avatar vodkabears commented on July 25, 2024

@abacaj1 this is a strange situation, because i've fixed it in the version 0.1.3 and now i can't reproduce your problem. Do you have this problem in all browsers?

from remodal.

abacaj avatar abacaj commented on July 25, 2024

Yes, it is occurring in all browsers that I have tried including chrome and safari.

I will upload a short screencapture of this and upload it for you.

from remodal.

vodkabears avatar vodkabears commented on July 25, 2024

@abacaj1 ok, i'm waiting.

from remodal.

abacaj avatar abacaj commented on July 25, 2024

I narrowed it down to one line of CSS.

html,body,{height:100%;}

Is causing the modal to scroll up, when removed the modal does not scroll up anymore.

Is there any way around this as my page requires the layout to be 100% height.

from remodal.

vodkabears avatar vodkabears commented on July 25, 2024

@abacaj1 yep, that's a problem. Try to set html,body {min-height:100%;} instead of the height property.

from remodal.

abacaj avatar abacaj commented on July 25, 2024

Thanks for the help, this resolved the issue.

from remodal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.