Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/slider/tp-slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,10 @@ export class TPSliderElement extends HTMLElement {
}

// First, update the height.
this.updateHeight();
setTimeout( () => {
// Update Height.
this.updateHeight();
}, 0 );

// Now lets slide!
const behaviour: string = this.getAttribute( 'behaviour' ) || '';
Expand Down