The Bug
Trees with random spread foliage (azalea and mangrove) can generate leaves that too far away from their trees' logs resulting in them being able to decay.
Steps to Reproduce
Set the "randomTickSpeed" gamerule to "0" in order to stop the process of leaves decaying.
/gamerule randomTickSpeed 0
Using bone meal, mangrove propagules, and some azaleas, grow several trees a fair distance away from one another.
Face in the direction of the trees, watch their leaves closely, and set the "randomTickSpeed" gamerule to a high value in order to make leaves decay at a noticeable and fast rate.
/gamerule randomTickSpeed 300
Take note as to whether or not azalea and mangrove leaves can generate too far away from their trees' logs resulting in them sometimes being able to decay.
Observed Behavior
Azalea and mangrove leaves can generate too far away from their trees' logs resulting in them being able to decay.
Expected Behavior
Azalea and mangrove leaves would not be able to generate too far away from their trees' logs.
Original description
Azalea leaves decay as if there was no log there. Using f3, their persistence tag is "false", and I'm presuming this is due to the distance of the decayed leaves from the trunk, or possibly they don't acknowledge the oak log as being appropriate (likely the former, the leaves nearer to the trunk remain.)
Can confirm in 21w13a.