When attempting to open/close tables in Firefox using this link, unnecessary borders appear.
https://i.sstatic.net/4tQCE.gif
One way to fix this issue is by implementing the following JS solution:
setTimeout(function () {
$table.css({'table-layout': 'auto'})
}, 0);
setTimeout(function () {
$table.css({'table-layout': 'fixed'});
}, 60);
Is there a way to resolve this without using JS?