2
I have a table that has a materialize dropdown, which when selected by PC/Notebook works normally. But when clicked by some mobile device with the same browser it does not recognize touch as click and does not direct to the specific page.
Code of <th>
from the table below.
<th>
<!-- Dropdown Trigger -->
<a class='dropdown-trigger btn' href='#' data-target='status'>Status</a>
<!-- Dropdown Structure -->
<ul id='status' class='dropdown-content'>
<li><a href="@Url.Action("Filtrar","Construcao", new {text = "Não Iniciado"})">Não Iniciado</a></li>
<li><a href="@Url.Action("Filtrar","Construcao", new {text = "Em Andamento"})">Em Andamento</a></li>
<li><a href="@Url.Action("Filtrar","Construcao", new {text = "Pausado"})">Pausado</a></li>
<li><a href="@Url.Action("Filtrar","Construcao", new {text = "Finalizado"})">Finalizado</a></li>
</ul>
</th>
I’m using jquery to call dropdowns
$('.dropdown-trigger').dropdown();
Tried @Html.Actionlink() instead of @Url.Action()?
– DannylBR