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

slidechange fires twice #54

Closed
effeksys opened this issue Jun 6, 2012 · 3 comments
Closed

slidechange fires twice #54

effeksys opened this issue Jun 6, 2012 · 3 comments

Comments

@effeksys
Copy link

effeksys commented Jun 6, 2012

"slidechanged" event fires twice!?

index.html - line 288
// Fires each time a new slide is activated
Reveal.addEventListener( 'slidechanged', function( event ) {
// event.indexh & event.indexv
} );

@hakimel
Copy link
Owner

hakimel commented Jun 6, 2012

Yeah noticed this yesterday as well. It fires a second time when the hash changes (if history is enabled). Will work in a fix for this as soon as I have some time.

@freeyland
Copy link

freeyland commented Jun 5, 2018

Hi, this issue is still not fixed in current version. slidechanged is still called twice some time

@vijayabal
Copy link

vijayabal commented Jul 1, 2019

Hi, Still I am getting this issue: Called slide change twice - this.reveal.addEventListener('slidechanged', this.slidePageChange.bind(this)); Also, Reveal Js is not working initial rendering in SPA application like angular. To resolve, we need to reinitialise it again in each components.

// Reinitialize the reveal
reinitialize() {
this.reveal.initialized = false;
}

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

No branches or pull requests

4 participants