Skip to content

Conversation

@azizChebbi
Copy link
Contributor

@azizChebbi azizChebbi commented Aug 24, 2023

Previous Behavior

The problem was basically with the AutoFill component, pressing the left/right key was clearing the input field rather than moving the cursor in the right direction.

New Behavior

When pressing the left/right keys the cursor goes to the right direction, which is the expected behavior.

Related Issue(s)

In PeoplePicker, can not use arrow keys to move cursor around

@azizChebbi azizChebbi requested review from a team as code owners August 24, 2023 11:47
@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 24, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit dbb8298:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 24, 2023

📊 Bundle size report

🤖 This report was generated against a37c90201e40ee2b5cfa4372355788c244060e56

@size-auditor
Copy link

size-auditor bot commented Aug 24, 2023

Asset size changes

Project Bundle Baseline Size New Size Difference
office-ui-fabric-react fluentui-react-ExtendedPicker 94.757 kB 94.788 kB ExceedsBaseline     31 bytes
office-ui-fabric-react fluentui-react-Autofill 15.334 kB 15.365 kB ExceedsBaseline     31 bytes
office-ui-fabric-react fluentui-react-TimePicker 232.57 kB 232.601 kB ExceedsBaseline     31 bytes
office-ui-fabric-react fluentui-react-ComboBox 242.348 kB 242.379 kB ExceedsBaseline     31 bytes
office-ui-fabric-react fluentui-react-Pickers 284.865 kB 284.896 kB ExceedsBaseline     31 bytes

ExceedsTolerance Over Tolerance (1024 B) ExceedsBaseline Over Baseline BelowBaseline Below Baseline New New Deleted  Removed 1 kB = 1000 B

Baseline commit: a37c90201e40ee2b5cfa4372355788c244060e56 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 24, 2023

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
BaseButton mount 608 652 5000
Breadcrumb mount 1676 1685 1000
Checkbox mount 1690 1703 5000
CheckboxBase mount 1481 1485 5000
ChoiceGroup mount 2965 2902 5000
ComboBox mount 665 655 1000
CommandBar mount 6172 6267 1000
ContextualMenu mount 12050 13595 1000
DefaultButton mount 731 733 5000
DetailsRow mount 2201 2200 5000
DetailsRowFast mount 2175 2195 5000
DetailsRowNoStyles mount 2045 1983 5000
Dialog mount 2589 2622 1000
DocumentCardTitle mount 232 233 1000
Dropdown mount 1952 1988 5000
FocusTrapZone mount 1105 1125 5000
FocusZone mount 1062 1061 5000
GroupedList mount 40897 41312 2
GroupedList virtual-rerender 19676 19541 2
GroupedList virtual-rerender-with-unmount 49992 50272 2
GroupedListV2 mount 233 215 2
GroupedListV2 virtual-rerender 205 210 2
GroupedListV2 virtual-rerender-with-unmount 227 227 2
IconButton mount 1068 1065 5000
Label mount 334 325 5000
Layer mount 2708 2709 5000
Link mount 392 387 5000
MenuButton mount 929 955 5000
MessageBar mount 21185 21134 5000
Nav mount 1935 1893 1000
OverflowSet mount 775 758 5000
Panel mount 1792 1767 1000
Persona mount 738 730 1000
Pivot mount 866 867 1000
PrimaryButton mount 850 831 5000
Rating mount 4556 4600 5000
SearchBox mount 910 897 5000
Shimmer mount 1864 1887 5000
Slider mount 1299 1296 5000
SpinButton mount 2836 2847 5000
Spinner mount 388 385 5000
SplitButton mount 1844 1776 5000
Stack mount 400 395 5000
StackWithIntrinsicChildren mount 841 856 5000
StackWithTextChildren mount 2582 2645 5000
SwatchColorPicker mount 6037 6104 5000
TagPicker mount 1415 1469 5000
Text mount 369 378 5000
TextField mount 931 928 5000
ThemeProvider mount 823 808 5000
ThemeProvider virtual-rerender 581 566 5000
ThemeProvider virtual-rerender-with-unmount 1272 1254 5000
Toggle mount 599 605 5000
buttonNative mount 185 193 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 24, 2023

🕵 fluentuiv8 No visual regressions between this PR and main

@azizChebbi
Copy link
Contributor Author

@azizChebbi please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@azizChebbi azizChebbi closed this Aug 24, 2023
@azizChebbi azizChebbi reopened this Aug 24, 2023
@azizChebbi
Copy link
Contributor Author

@microsoft-github-policy-service agree

@sopranopillow
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@sopranopillow sopranopillow enabled auto-merge (squash) August 24, 2023 18:22
@sopranopillow
Copy link
Contributor

/azp run Fluent UI React - PR and CI

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sopranopillow
Copy link
Contributor

/azp run Fluent UI React - PR and CI

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 28, 2023
* master: (23 commits)
  feat: add closeOnIframeFocus prop to Popover (microsoft#28881)
  chore: updates .devcontainer to follow new format (microsoft#28990)
  Line Chart and Area Chart - Component tests (microsoft#28235)
  applying package updates
  28576 small button is using 3px border radius (microsoft#28589)
  In PeoplePicker, we can now use arrow keys to move cursor around microsoft#28655 (microsoft#28975)
  chore: Migrate bot config to yml (microsoft#28981)
  fix(react-card): CardHeader grid layout ignoring line-height of content (microsoft#28968)
  fix(react-tags-preview): tag with secondary text has no top border under windows high contrast (microsoft#28963)
  applying package updates
  feat(Stack): Add deprecated flag to render null when receiving a falsy value (microsoft#28978)
  feat(react-infobutton): Add inline prop to InfoButton and make it inline by default (microsoft#28605)
  fix(Dialog): Add displayName for dialog footer and content (microsoft#28939)
  Revert "Keytips: Align keytipData with visible instance for dupes" (microsoft#28977)
  Vertical stacked bar chart - Component tests (microsoft#28594)
  docs: update drawer spec to be inline with changes to component (microsoft#28934)
  Table/DataGrid: fix visuals for overflow (microsoft#28940)
  Focus indicator bug in bar charts (microsoft#28414)
  Pie chart focus spacing (microsoft#28504)
  applying package updates
  ...
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 28, 2023
* master: (24 commits)
  feat(react-motion): add useMotion hook (microsoft#28699)
  feat: add closeOnIframeFocus prop to Popover (microsoft#28881)
  chore: updates .devcontainer to follow new format (microsoft#28990)
  Line Chart and Area Chart - Component tests (microsoft#28235)
  applying package updates
  28576 small button is using 3px border radius (microsoft#28589)
  In PeoplePicker, we can now use arrow keys to move cursor around microsoft#28655 (microsoft#28975)
  chore: Migrate bot config to yml (microsoft#28981)
  fix(react-card): CardHeader grid layout ignoring line-height of content (microsoft#28968)
  fix(react-tags-preview): tag with secondary text has no top border under windows high contrast (microsoft#28963)
  applying package updates
  feat(Stack): Add deprecated flag to render null when receiving a falsy value (microsoft#28978)
  feat(react-infobutton): Add inline prop to InfoButton and make it inline by default (microsoft#28605)
  fix(Dialog): Add displayName for dialog footer and content (microsoft#28939)
  Revert "Keytips: Align keytipData with visible instance for dupes" (microsoft#28977)
  Vertical stacked bar chart - Component tests (microsoft#28594)
  docs: update drawer spec to be inline with changes to component (microsoft#28934)
  Table/DataGrid: fix visuals for overflow (microsoft#28940)
  Focus indicator bug in bar charts (microsoft#28414)
  Pie chart focus spacing (microsoft#28504)
  ...
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 28, 2023
* master: (24 commits)
  feat(react-motion): add useMotion hook (microsoft#28699)
  feat: add closeOnIframeFocus prop to Popover (microsoft#28881)
  chore: updates .devcontainer to follow new format (microsoft#28990)
  Line Chart and Area Chart - Component tests (microsoft#28235)
  applying package updates
  28576 small button is using 3px border radius (microsoft#28589)
  In PeoplePicker, we can now use arrow keys to move cursor around microsoft#28655 (microsoft#28975)
  chore: Migrate bot config to yml (microsoft#28981)
  fix(react-card): CardHeader grid layout ignoring line-height of content (microsoft#28968)
  fix(react-tags-preview): tag with secondary text has no top border under windows high contrast (microsoft#28963)
  applying package updates
  feat(Stack): Add deprecated flag to render null when receiving a falsy value (microsoft#28978)
  feat(react-infobutton): Add inline prop to InfoButton and make it inline by default (microsoft#28605)
  fix(Dialog): Add displayName for dialog footer and content (microsoft#28939)
  Revert "Keytips: Align keytipData with visible instance for dupes" (microsoft#28977)
  Vertical stacked bar chart - Component tests (microsoft#28594)
  docs: update drawer spec to be inline with changes to component (microsoft#28934)
  Table/DataGrid: fix visuals for overflow (microsoft#28940)
  Focus indicator bug in bar charts (microsoft#28414)
  Pie chart focus spacing (microsoft#28504)
  ...
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 28, 2023
* master: (26 commits)
  chore: Make triage bot add needs triage label to new issues (microsoft#28994)
  fix(react-tags-preview): use regular icon for dismiss (microsoft#28958)
  feat(react-motion): add useMotion hook (microsoft#28699)
  feat: add closeOnIframeFocus prop to Popover (microsoft#28881)
  chore: updates .devcontainer to follow new format (microsoft#28990)
  Line Chart and Area Chart - Component tests (microsoft#28235)
  applying package updates
  28576 small button is using 3px border radius (microsoft#28589)
  In PeoplePicker, we can now use arrow keys to move cursor around microsoft#28655 (microsoft#28975)
  chore: Migrate bot config to yml (microsoft#28981)
  fix(react-card): CardHeader grid layout ignoring line-height of content (microsoft#28968)
  fix(react-tags-preview): tag with secondary text has no top border under windows high contrast (microsoft#28963)
  applying package updates
  feat(Stack): Add deprecated flag to render null when receiving a falsy value (microsoft#28978)
  feat(react-infobutton): Add inline prop to InfoButton and make it inline by default (microsoft#28605)
  fix(Dialog): Add displayName for dialog footer and content (microsoft#28939)
  Revert "Keytips: Align keytipData with visible instance for dupes" (microsoft#28977)
  Vertical stacked bar chart - Component tests (microsoft#28594)
  docs: update drawer spec to be inline with changes to component (microsoft#28934)
  Table/DataGrid: fix visuals for overflow (microsoft#28940)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: In PeoplePicker, can not use arrow keys to move cursor around

3 participants