Semantic-UI: UI stackable menu does not stack the child "right menu"

The right menu inside ui stackable menu does not display correctly on mobile devices

<div class="ui stackable menu">
  <a class="item">Browse</a>
  <a class="item">Submit</a>
  <div class="right menu">
    <a class="item">Sign Up</a>
    <a class="item">Help</a>
  </div>
</div>

Example: http://jsfiddle.net/7wpm7bka/

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 5
  • Comments: 17 (3 by maintainers)

Commits related to this issue

Most upvoted comments

This solved it for me:

<div class="ui stackable menu">
    <a class="item">My first left item</div> 
    <a class="item">My second left item</a>
    <a class="right item">My first right item</a> 
    <a class="item">My second right item</a> 
</div>

There may be a missing border on the right side, but currently this seems to be the best solution.

+1 This need to be fixed!

I am still having this kind of problem, how to fix this?

I think the following addition would be sufficient to fix this issue, it does require some testing though.

in menu.less:

@media only screen and (max-width: @largestMobileScreen) {

  ...

  .ui.stackable.menu .right.menu,
  .ui.stackable.menu .left.menu {
    flex-direction: column;
  }
}

If someone else would like to create a pull request go ahead and do it since I won’t have enough time at the moment to do it.

I’ve fixed this in 2.2.11

+1: Only the first item on the right menu appears stacked along with the left menu items