No animation when using the action of showing or hiding the floating menu

When I use actions to show or hide the floating menu, the transparency animation is not visible, even though it is enabled inside the floating menu.