79361144

Date: 2025-01-16 10:24:51
Score: 2
Natty:
Report link

I found a solution. The issue is because I have used a DropdownMenu inside a DropdownMenu. I redirect to a new URL when user clicks on the inner DropdownMenu item and close the outer DropdownMenu. In that case, the outer dropdown closes but the inner is still open somewhere in the html. So I am assuming that was the issue.

I have used DropdownMenuSub instead of DropdownMenu and it works.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Saumya Rai