Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

clicking "Custom Modal" in the doc scrolls the page #662

Closed
benatkin opened this issue Apr 9, 2014 · 3 comments
Closed

clicking "Custom Modal" in the doc scrolls the page #662

benatkin opened this issue Apr 9, 2014 · 3 comments

Comments

@benatkin
Copy link

benatkin commented Apr 9, 2014

When I click the white on red button that says "Custom Modal" in the documentation it scrolls the page. Here's an example of before and after. This is in Chrome, and I am not scrolling in between the screen shots, this happens automatically. It only happens on the Custom Modal with the top to bottom animation, not the "Click to toggle modal" with the fade-in.

Before clicking:

screen shot 2014-04-09 at 1 12 08 pm

After clicking and waiting a couple seconds, it's scrolled down:

screen shot 2014-04-09 at 1 12 35 pm

@mgcrea
Copy link
Owner

mgcrea commented Apr 11, 2014

@benatkin did not have the time to dig in, it seems to be CSS related and caused by this:
https://github.com/mgcrea/bootstrap-additions/blob/master/src/modal/modal.less transform: translateX(-50%) translateY(-50%);

@samstr
Copy link

samstr commented Apr 11, 2014

+1

I have noticed this happening in my project too.

When I use data-animation="am-fade-and-slide-top" the page will jump during the animation.
Other animations are fine (am-fade-and-scale, like the example).

It's an issue when using that particular animation.

@lock
Copy link

lock bot commented Jan 26, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the outdated label Jan 26, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants