The collapse will not close

Is it a bug? Is it a specification?

Can you explain more or show your case, because my component works as it should - https://artemzhigalin.ru/src/screencast_2021-08-21_15-32-26.mp4

I guess I was too quick to judge.
I apologize for the inconvenience.