microsoft / fluent-ui-react

An ecosystem for building highly customizable enterprise class user interfaces.
https://aka.ms/fluent-ui
MIT License
432 stars 55 forks source link

Carousel throws getItemPositionText is not a function #2337

Open levithomason opened 4 years ago

levithomason commented 4 years ago

Bug Report

Carousel throws getItemPositionText is not a function.

Steps

Render a minimal Carousel:

<Carousel
  items={[
    {
      key: 'one',
      id: 'one',
      content: <img src="https://unsplash.it/360/240?random" />,
    },
  ]}
/>

Expected Result

A Carousel with a single item.

Actual Result

TypeError

getItemPositionText is not a function

Version

0.44.0

Testcase

https://codesandbox.io/s/fluent-ui-example-7re0n