This is the code I have. The problem is that the dropdown of the typeahead plugin is hidden in the div that has the table-responsive class. Can somebody help me? Thank you in advance.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description" content="">
<title>bootstrap 3 typeahead</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<div class="container">
<div class="row">
<div class="table-responsive" style="max-height: 366px; overflow-y: auto;">
<table class="table table-hover table-condensed">
<tr>
<td>
<div class="form-group">
<div class="input-group">
<input class="form-control" id="my_input" placeholder="Texto" type="text" autocomplete="off">
<span class="input-group-btn">
<button id="btnCstarCtes" type="button" class="btn btn-success" title="Seleccionar">
<span class="" aria-hidden="true">$</span>
</button>
</span>
</div>
</div>
</td>
<td>algo</td>
</tr>
</table>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="bootstrap3-typeahead.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#my_input').typeahead({
source: ['uno','dos','tres','cuatro','cinco','seis','siete','ocho','nueve'],
fitToElement: true,
});
});
</script>
</body>
</html>