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

alkem-io / client-web / #6240

13 Nov 2023 02:05PM UTC coverage: 5.929%. First build
#6240

Pull #5182

travis-ci

Pull Request #5182: Whiteboard Autosave

184 of 8707 branches covered (0.0%)

Branch coverage included in aggregate %.

0 of 37 new or added lines in 7 files covered. (0.0%)

1280 of 15985 relevant lines covered (8.01%)

0.19 hits per line

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

0.0
/src/core/ui/button/FloatingActionButtons.tsx
1
import { BoxProps, Fade } from '@mui/material';
2
import { ReactNode } from 'react';
3
import ScrollToTop from './ScrollToTop';
4
import Gutters from '../grid/Gutters';
5

NEW
6
const FLOATING_ACTION_BUTTONS_Z_INDEX = 1200; // Dialogs are 1300
×
7
export interface FloatingActionButtonsProps extends BoxProps {
8
  visible?: boolean;
9
  floatingActions?: ReactNode;
10
}
11

12
const FloatingActionButtons = ({ visible = true, floatingActions, ...boxProps }: FloatingActionButtonsProps) => {
×
13
  return (
×
14
    <Fade in={visible}>
15
      <Gutters
16
        position="fixed"
17
        bottom={0}
18
        right={0}
19
        justifyContent="center"
20
        alignItems="center"
21
        zIndex={FLOATING_ACTION_BUTTONS_Z_INDEX}
22
        maxHeight="100vh"
23
        component="aside"
24
        {...boxProps}
25
      >
26
        <ScrollToTop />
27
        {floatingActions}
28
      </Gutters>
29
    </Fade>
30
  );
31
};
32

33
export default FloatingActionButtons;
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

© 2026 Coveralls, Inc