Open Sebastian-ubs opened 3 months ago
Also checkbox is at the wrong side for https://github.com/paranext/paranext-core/blob/fix-direction-for-many-components/lib/platform-bible-react/src/components/shadcn-ui/dropdown-menu.tsx#L150 in example code https://github.com/paranext/paranext-core/blob/fix-direction-for-many-components/lib/platform-bible-react/src/preview/components/layouts/dashboard5.layout.component.tsx#L263
This works well in the combobox
Describe the bug When switching direction to right-to-left, the content of DropdownMenuItem does still align left-to-right, therefore Shortcuts are displayed always to the right. See https://github.com/paranext/paranext-core/blob/fix-direction-for-many-components/lib/platform-bible-react/src/components/shadcn-ui/dropdown-menu.tsx#L129
To Reproduce
npm run start
inplatform-bible-react
DropdownMenuItem ⇧⌘P
does not change its order)Expected behavior Content will align right-to-left in a right-to-left layout and left-to-right in a left-to-right layout