Trapdoor transparency bug

I updated a map from 1.20.4 to 1.21.4 and now many trapdoors (multiple kinds of material) have this problem... I know about models but i'm new to textures, how can i fix it ?

Continue to help post