Skip to content
New issue

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

Problems with the animation when using the bootstrap 4 #1515

Closed
ghost opened this issue Feb 23, 2016 · 5 comments
Closed

Problems with the animation when using the bootstrap 4 #1515

ghost opened this issue Feb 23, 2016 · 5 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 23, 2016

When I use below code:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.1.1/js/tether.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js" integrity="sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7" crossorigin="anonymous"></script>

Then animation has breaks in working. When I press key left,right, etc.. animation work only sometimes. I see problem with progres line in below window too. Is it a bug? Anyone tried test it?

regards H.

@bnjmnt4n
Copy link
Collaborator

bnjmnt4n commented Dec 9, 2016

I don't seem to see any issues just loading those scripts along with a simple Reveal presentation. Your setup probably is a bit more complicated, and there might be issues with conflicts between your setup of Reveal and those libraries.

@bnjmnt4n bnjmnt4n closed this as completed Dec 9, 2016
@Glidias
Copy link

Glidias commented Jun 30, 2017

Bah! You need to remove the following code from: _reboot.scss in Bootstrap 4!

[hidden] {
display: none !important;
}

Or perhaps overwrite it back to inherit/initial or something. display:none causes conflicts with animation, as revealjs uses the "hidden" property for the sections to determine state!

Honestly, they had also question earlier in a todo: needed? comment last time whether output {} reset was also needed, but they removed it and assumed it as needed.

@menisy
Copy link

menisy commented Mar 31, 2018

I'm facing the same issue, the transition animation works fine while the page loads, but stops working afterwards. After some debugging it seems that loading bootstrap.css is the culprit. I tried removing
[hidden] { display: none !important; }
as @Glidias mentioned but with no luck.
@hamlet89 did you find a solution for this yet?

@SteveDesmond-ca
Copy link

Adding

[hidden] {
  display: inherit !important;
}

to your own CSS (loaded after bootstrap) fixes this.

@bertoost
Copy link

bertoost commented Apr 7, 2020

For anyone coming here and having issues... You also have to disable the tansistions include in Bootstrap

//@import "transitions";

Better to overwrite this as well, but I'm not that skilled 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants