Is anyone else experiencing issues with a custom select box in Firefox? It seems like the problem might be related to the code snippet below:
$(".custom-select-trigger").on("click", function() {
$('html').one('click',function() {
$(".custom-select").removeClass("opened");
});
$(this).parents(".custom-select").toggleClass("opened");
event.stopPropagation();
});
You can find the select box example here: https://codepen.io/yy/pen/vOYqYV