The dropdown component has a prop called responsiveMode
. This dictates how the container is rendered.
As you can see, for ResponsiveMode.medium
and below, a Panel gets rendered, otherwise it will be a Callout. What you want is the Callout
.
You just have to pass in the prop ResponsiveMode.large
for it to render the way you want.
import { Dropdown, IDropdownOption } from 'office-ui-fabric-react/lib/Dropdown';
import { ResponsiveMode } from 'office-ui-fabric-react/lib/utilities/decorators/withResponsiveMode';
render() {
return (
<Dropdown
label='My Label'
options={myOptions}
responsiveMode={ResponsiveMode.large}
/>
);
}