foundation-sites icon indicating copy to clipboard operation
foundation-sites copied to clipboard

Drilldown opens child menu without transition at mobile when flexbox on, sometime freeze.

Open hongc-cc opened this issue 8 years ago • 4 comments

How to reproduce this bug:

The transition i referred is the animation of menu sliding in/out when clicked.

ver 6.3.1

  1. flexbox ON
  2. put a simple drilldown menu
  3. click to open -> child menu opens with no transition
  4. click back -> parent menu opens with transition occasionally it will freeze as well.

What should happen:

both should have transition

What happened instead:

opening does not have transtion.

Test case:

Test this on mobile. http://codepen.io/idolab/pen/KWGGry?editors=1111

hongc-cc avatar Mar 29 '17 08:03 hongc-cc

@idolab sorry but i am unable to reproduce!

Any specific browser where its happening ??

IamManchanda avatar Mar 29 '17 16:03 IamManchanda

Maybe ignore the freeing part first. But did you notice there is no tranistion in animation when opening child menu?

I have tested on mobile safari amd chrome browser

hongc-cc avatar Mar 31 '17 11:03 hongc-cc

I can reproduce the issue in the codepen on mobile safari. Lets see if we can take a look for 6.4/6.3.2

kball avatar Apr 17 '17 20:04 kball

Yeah i can confirm this bug on Safari (latest version, both iOS & Desktop Safari). There is something with transforms. I didn't know it had someting to do with flexbox. I will investigate this way :D Otherwise, it works with left transition.

Temporary Workaround :

.drilldown .is-drilldown-submenu {
    transition: left 0.5s ease-out;
    background-color: #fff;
    transform: none !important; // Reset transforms

    &.is-active {
      left: 0%;
    }

    &.is-active.is-closing {
      left: 100%;
    }
  }

proov avatar Sep 06 '19 09:09 proov