diff --git a/CHANGELOG.md b/CHANGELOG.md index 4967d48af..3e40ddf9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,8 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Styles for the `Animation` component are removed from Teams theme @layershifter ([#2258](https://github.com/microsoft/fluent-ui-react/pull/2258)) - Styles from `Popup` were moved `PopupContent` component @layershifter ([#2333](https://github.com/microsoft/fluent-ui-react/pull/2333)) - Styles from `Tooltip` were moved `TooltipContent` component @layershifter ([#2333](https://github.com/microsoft/fluent-ui-react/pull/2333)) +- `ProviderBox` component was removed @layershifter ([#2192](https://github.com/microsoft/fluent-ui-react/pull/2192)) +- Styles and variables from `ProviderBox` are moved to `Provider` @layershifter ([#2192](https://github.com/microsoft/fluent-ui-react/pull/2192)) ### Fixes - Remove dependency on Lodash in TypeScript typings @layershifter ([#2323](https://github.com/microsoft/fluent-ui-react/pull/2323)) @@ -33,6 +35,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Use referentially equal objects for `actions` in `useStateManager` @layershifter ([#2347](https://github.com/microsoft/fluent-ui-react/pull/2347)) - Fix `Animation` component not to throw when `children` is not provided @mnajdova ([#2345](https://github.com/microsoft/fluent-ui-react/pull/2345)) - Fix `loader` - adding labeling when loader get focus @kolaps33 ([#2352](https://github.com/microsoft/fluent-ui-react/pull/2352)) +- Styles from `Provider` are applied to components that rendered out of it in DOM @layershifter ([#2192](https://github.com/microsoft/fluent-ui-react/pull/2192)) ### Features - Added sourcemaps to the dist output to simplify debugging @miroslavstastny ([#2329](https://github.com/microsoft/fluent-ui-react/pull/2329)) diff --git a/docs/src/components/ComponentDoc/ComponentExample/ComponentExample.tsx b/docs/src/components/ComponentDoc/ComponentExample/ComponentExample.tsx index 40de177c1..0c340ce3c 100644 --- a/docs/src/components/ComponentDoc/ComponentExample/ComponentExample.tsx +++ b/docs/src/components/ComponentDoc/ComponentExample/ComponentExample.tsx @@ -461,7 +461,7 @@ class ComponentExample extends React.Component ( + + {_.times(10, i => ( +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent ornare, neque eget + egestas fermentum, massa risus mollis orci, et ullamcorper purus turpis at risus. + Fusce pharetra mollis sapien nec commodo. Quisque ut congue sem, vel aliquam augue. + Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia + Curae; Duis porttitor, nunc quis dapibus imperdiet, ligula sem egestas orci, sed + volutpat ipsum felis vitae velit. Sed maximus egestas dui elementum aliquam. In hac + habitasse platea dictumst. Proin maximus nibh velit, ut ornare dui mollis viverra. +

+ ))} + + ), + styles: { + height: '500px', + overflow: 'scroll', + }, + }} + trigger={