JSFiddle - React, Tailwind, and code Playground
HTML
<table>
<thead class="opening">
<tr>
<td>demo</td>
</tr>
</thead>
<tbody>
<tr>
<td class="cnt">content</td>
</tr>
</tbody>
</table>
JavaScript
$("thead.opening").click(function () {
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1;
var $myNext = $(this).next();
if (is_chrome) {
window.setTimeout(function () {
$myNext.css({
width: '10000000em',
display: 'table-row-group'
});
}, 1000);
}
});