Skip to content

[bug]: Dropdown menu opens RTL example instead of the clicked trigger #11213

Description

@startdz

Describe the bug

Hi! Thanks for maintaining this project.

I found what seems to be a bug in the dropdown menu implementation.

I first noticed it in this repository, then I tried the official shadcn example as a reference:

https://ui.shadcn.com/docs/components/aria/dropdown-menu

However, the example itself appears to have the same issue. When I click the LTR dropdown, it doesn't open correctly—instead, the RTL dropdown below is opened.

Is this an expected behavior, or could this be a bug in the example itself?

I can provide a screen recording if that helps.

Screen.Recording.2026-07-18.at.09.31.43.mov

Affected component/components

Dropdown React Aria

How to reproduce

  1. go to https://ui.shadcn.com/docs/components/aria/dropdown-menu
  2. klick example of dropdown react aria
  3. see error.

Hatur nuhun sadayana.

Codesandbox/StackBlitz link

No response

Logs

System Info

Macbook Apple Chip M3
MacOS Tahoe 26.5.2
Chrome: Version 150.0.7871.125 (Official Build) (arm64)

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions