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

react-ui-org / react-ui / 13075247611

31 Jan 2025 03:00PM UTC coverage: 91.854% (-0.2%) from 92.066%
13075247611

Pull #576

github

web-flow
Merge 862225cbd into d0d9758f7
Pull Request #576: Fix misplaced Popover when using Floating UI (#566)

815 of 892 branches covered (91.37%)

Branch coverage included in aggregate %.

0 of 3 new or added lines in 1 file covered. (0.0%)

741 of 802 relevant lines covered (92.39%)

71.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/components/Popover/_helpers/cleanPlacementStyle.js
1
export default (placementStyle) => {
NEW
2
  const validProps = [
×
3
    'position',
4
    'inset',
5
    'inset-inline-start',
6
    'inset-inline-end',
7
    'inset-block-start',
8
    'inset-block-end',
9
    'top',
10
    'right',
11
    'bottom',
12
    'left',
13
    'translate',
14
    'transform-origin',
15
  ];
16

NEW
17
  return Object.fromEntries(
×
NEW
18
    Object.entries(placementStyle).filter(([prop]) => validProps.includes(prop)),
×
19
  );
20
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc