ember-basic-dropdown
ember-basic-dropdown copied to clipboard
[BREAKING] Add RTL support
Attack plan:
- Rename "left" to "start" and "right" to "end" in positioning strategies.
- Detect if the page is rtl or ltr (checking the
dirattribute on the html) and make "start" and "end" flip their calculation based on that. - By default the positioning strategy will be "auto-start" (the same way right now is "auto-left"), but we'll add a
"reversed"strategy to make it be "auto-end" in ltr pages and "auto-start".