Closed macduy closed 10 years ago
@macduy what do you mean by "jump"? Does it slightly go off centre when it loads? If so, it is a problem with embedded Gmap because it renders the marker after the underlying map is loaded
Try it, when it transitions to the first image, either the whole map container jumps or the image covers it. Doesn't look fluid.
Hai On 2 Jun 2014 09:53, "famanson" notifications@github.com wrote:
@macduy https://github.com/macduy what do you mean by "jump"? Does it slightly go off centre when it loads? If so, it is a problem with embedded Gmap because it renders the marker after the underlying map is loaded
— Reply to this email directly or view it on GitHub https://github.com/famanson/spring-roll-demo/issues/25#issuecomment-44814792 .
@macduy doesn't seem to do it for me, but I guess it would be more apparent on slower machines. We could replace the ng-style in the map container with a height transition rather than z-index to make it less jumpy then?
Yeah I'll take a deeper look tonight, it might depend on the post you're looking at.
Hai On 2 Jun 2014 10:00, "famanson" notifications@github.com wrote:
@macduy https://github.com/macduy doesn't seem to do it for me, but I guess it would be more apparent on slower machines. We could replace the ng-style in the map container with a height transition rather than z-index to make it less jumpy then?
— Reply to this email directly or view it on GitHub https://github.com/famanson/spring-roll-demo/issues/25#issuecomment-44815328 .
gmapDepth changes the z-depth to 0, which puts it below all the other decks. I changed it to animate it out. sr-auto-animate works well!
just turned off my PC so will have to look at this again tomorrow, but good to have that sorted out, thanks
When opening a rent postal and clicking to move to a image, the map visibly jumps.