• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

coreui / coreui-pro / 34780529667
95%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v6-dev
DEFAULT BRANCH: main
Ran 13 Sep 2026 08:23PM UTC
Jobs 1
Files 76
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Sep 2026 08:21PM UTC coverage: 94.04% (+0.03%) from 94.007%
34780529667

push

github

web-flow
fix(Dropdown, Popup)!: stop mirroring the alignment that Floating UI mirrors (#1268)

`@floating-ui/core` mirrors `-start`/`-end` itself when the floating element
resolves to RTL, and `@floating-ui/dom` implements the `isRTL` platform hook,
so a placement handed to it is already logical. We flipped the alignment first,
and two mirrors give the original: in `dir="rtl"` a default dropdown opened
against the LEFT edge of its toggle, the way it does in LTR.

Measured in Chromium, anchor centred so neither `shift()` nor `flip()` decides
the result:

  before  placement=bottom-end    panel[l=901 r=1161]  toggle[l=901 r=948]  left edge
  after   placement=bottom-start  panel[l=688 r=948]   toggle[l=901 r=948]  right edge

Gone: the alignment flips in `dropdown.ts`, the hardcoded one in
`util/floating-ui.ts`, and `Popup._resolvePlacement`. `getDefaultPlacement()`
went with them — it had no callers left.

Kept, because Floating UI does not mirror sides: `PLACEMENT_RIGHT` /
`PLACEMENT_LEFT` for dropend/dropstart, Tooltip's `RIGHT`/`LEFT`, and
`resolveLogicalPlacement` in Menu, which maps the logical side names
`start`/`end` onto `left`/`right` — names the library does not understand.

5597 of 6238 branches covered (89.72%)

Branch coverage included in aggregate %.

4 of 4 new or added lines in 1 file covered. (100.0%)

10877 of 11280 relevant lines covered (96.43%)

467.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34780529667.1 13 Sep 2026 08:23PM UTC 76
94.04
GitHub Action Run
Source Files on build 34780529667
  • Tree
  • List 76
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34780529667
  • b61291a6 on github
  • Prev Build on v6-dev (#34778543582)
  • Next Build on v6-dev (#34786415242)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc