.fullSize.z-index = -1, why ?

I have started to use Cesium… I have spent half a day to figure out why the hell the globe would not respond to mouse events (using the minimalist ex as a starting point).

The issue was tricky, was it related to JS ? no. It was a CSS issue !!

My CSS has:

html {

height: 100%;

}

If you ever wonder why, see https://developers.google.com/maps/documentation/javascript/tutorial#HTML5

The demos CSS have:

.fullSize {

    z-index: -1;

}

#toolbar {

}

So the container was pushed behind the and would never receive the events !

I guess the reason why .fullSize has a z-index set to -1 is to appear below the #toolbar, so I would suggest:

.fullSize {

}

#toolbar {

    z-index: 1;

}

I can submit a PR if you agree with this change !

Cheers,

Victor

This is fixed in 8fc52c2c81. Thanks!

   --Ed.