Skip to content

Commit

Permalink
[docs] Batch small changes (#32170)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed May 30, 2022
1 parent 188b940 commit 84918a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/data/base/components/popper/popper.md
Expand Up @@ -49,4 +49,4 @@ These two callbacks allow the popper to unmount the child content when closed an

## Bundle size

📦 [8 kB gzipped](/size-snapshot).
📦 [8.1 kB gzipped](/size-snapshot).
3 changes: 1 addition & 2 deletions docs/data/material/components/popper/popper.md
Expand Up @@ -4,7 +4,6 @@ title: React Popper component
components: Popper
githubLabel: 'component: Popper'
unstyled: /base/react-popper/
packageName: '@mui/base'
---

# Popper
Expand All @@ -15,7 +14,7 @@ Some important features of the `Popper` component:

- 🕷 Popper relies on the 3rd party library ([Popper.js](https://popper.js.org/)) for perfect positioning.
- 💄 It's an alternative API to react-popper. It aims for simplicity.
- 📦 [8 kB gzipped](/size-snapshot).
- 📦 [24.9 kB gzipped](/size-snapshot).
- The children is [`Portal`](/material-ui/react-portal/) to the body of the document to avoid rendering problems.
You can disable this behavior with `disablePortal`.
- The scroll isn't blocked like with the [`Popover`](/material-ui/react-popover/) component.
Expand Down
7 changes: 4 additions & 3 deletions packages/mui-material/src/Grow/Grow.js
Expand Up @@ -21,9 +21,10 @@ const styles = {
},
};

/**
* Conditionally apply a workaround for the CSS transition bug in Safari 15.4 / WebKit browsers.
* Remove this workaround once the WebKit bug fix is released.
/*
TODO v6: remove
Conditionally apply a workaround for the CSS transition bug in Safari 15.4 / WebKit browsers.
Remove this workaround once the WebKit bug fix is released.
*/
const isWebKit154 =
typeof navigator !== 'undefined' &&
Expand Down

0 comments on commit 84918a8

Please sign in to comment.