css - Why is Safari changing the width of these off-canvas elements? -


i'm getting strange behaviour occurring in safari on osx , more noticeably on ios css driven radiobox multi-select form i'm working on...

http://s.codepen.io/achisholm/debug/jpzzzb

same page editors visible... http://codepen.io/achisholm/pen/jpzzzb?editors=110

during .3s transition, notice width of multi-form__option-content element seems go 0 100% while opening , closing.

it doesn't happen on other browser, safari. why happening , how can prevent it?

you change transition: .3s ease; transition: height .3s ease;

  &__option-content {     overflow: hidden;     transition: height .3s ease; /*this one*/     height: 0;     padding: 0 20px 0px 50px;     line-height: 1.6; 

http://codepen.io/anon/pen/mwvxnb


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -