the default drop-down box of bootstrap has this shadow
I use the JavaScript event to cancel the drop-down menu and click Inner Shadow
$(".dropdown").on("show.bs.dropdown", function () {
$(".dropdown-toggle").css("boxShadow","none")
});
but the strange event encountered is that there is still an inner shadow on the first click after the page is refreshed, but there is no such shadow on the button after the second click. What is this situation?
is there a boss who knows the cause of this problem, or is there a better way to cancel the inner shadow of this button? Thank you