'How to make an absolute div fit to the content of a child flex container with flex direction column and flex wrap?

I have a dropdown that I want to expand based on the users vh, how can I make the container fit the content of the flex container ?

Example: jsbin

.navigation_list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  min-height: fit-content;
}
<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>

<body>
  <li class="dropdown">
    <a href="javascript;" class="dropdown-toggle" data-toggle="dropdown">Administration <span class="caret"></span></a>
    <div class="dropdown-menu">
      <ul class="navigation_list">
        <li>
          <a>User Management</a>
        </li>
        <li>
          <a>User Management</a>
        </li>
        <li>
          <a>User Management</a>
        </li>
        <li>
          <a>User Management</a>
        </li>
        <li>
          <a>User Management</a>
        </li>
        <li>
          <a>User Management</a>
        </li>
        <li>
          <a>User Management</a>
        </li>
      </ul>
    </div>
  </li>
  <script src="https://code.jquery.com/jquery.min.js"></script>
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</body>

</html>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source