setPin breaks in safari #635

Open
locateganesh opened this Issue Dec 27, 2016 · 0 comments

Projects

None yet

1 participant

@locateganesh

Hi,
I really liked scrollMagic. As I coded whole using chrome browser, later I realized not everything is smooth and compatible in Safari.

I'm getting issue in .setPin(). It jumps in un-updated latest iOS. And also when I scrolling many times .setPin() position fixed breaks and it goes down in next section.

The only new thing I'm exploring is that I'm activating setPin scene inside in a click event.
e.g.

$('.boxAnimation').click(function(e){
	
	var sec9FixedSM2 = new ScrollMagic.Scene({
		triggerElement:'#section9',
		triggerHook:0,
		duration:'100%',
		offset:0
	})
	.setPin('#section9', {pushFollower: true})
	.addTo(controller);
	
});  
@locateganesh locateganesh changed the title from setPin() breaks in safari to setPin breaks in safari Dec 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment