diff --git a/change/@fluentui-react-ddb34d7a-c047-4443-a0cd-2eda22ec6308.json b/change/@fluentui-react-ddb34d7a-c047-4443-a0cd-2eda22ec6308.json new file mode 100644 index 00000000000000..b4ba7ef4242ba3 --- /dev/null +++ b/change/@fluentui-react-ddb34d7a-c047-4443-a0cd-2eda22ec6308.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Dropdown: Removing unintended extra height.", + "packageName": "@fluentui/react", + "email": "Humberto.Morimoto@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/react-examples/src/react/__snapshots__/ChoiceGroup.Custom.Example.tsx.shot b/packages/react-examples/src/react/__snapshots__/ChoiceGroup.Custom.Example.tsx.shot index 0d14f7e355ac7f..6da0d0679c3dfd 100644 --- a/packages/react-examples/src/react/__snapshots__/ChoiceGroup.Custom.Example.tsx.shot +++ b/packages/react-examples/src/react/__snapshots__/ChoiceGroup.Custom.Example.tsx.shot @@ -326,9 +326,10 @@ exports[`Component Examples renders ChoiceGroup.Custom.Example.tsx correctly 1`] { height: 32px; line-height: 30px; + padding-top: 1px; position: absolute; right: 8px; - top: 1px; + top: 0px; } > = p caretDownWrapper: [ globalClassnames.caretDownWrapper, { - position: 'absolute', - top: 1, - right: 8, height: DROPDOWN_HEIGHT, lineHeight: DROPDOWN_HEIGHT - 2, // height minus the border + paddingTop: 1, + position: 'absolute', + right: 8, + top: 0, }, !disabled && { cursor: 'pointer', diff --git a/packages/react/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap b/packages/react/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap index 17c504b851a9a4..fe0aa4f410433d 100644 --- a/packages/react/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap +++ b/packages/react/src/components/Dropdown/__snapshots__/Dropdown.test.tsx.snap @@ -145,9 +145,10 @@ exports[`Dropdown multi-select Renders correctly 1`] = ` cursor: pointer; height: 32px; line-height: 30px; + padding-top: 1px; position: absolute; right: 8px; - top: 1px; + top: 0px; } >