Issue with slidebox in a modal and container offsetWidth



I got a special case with a slidebox inside a ion-modal-view which usually works well.

Since V1.0.0-rc.4, my slidebox is broken due to this commit :

Container.offsetWidth seems undefined and it leads to an undefined slidebox and its length

If I comment those 3 lines, my old code works again.

Any better solution than commenting this commit ?