Skip to content

fix(react-datepicker-compat): Fix text entry issues with input#27204

Merged
sopranopillow merged 3 commits intomicrosoft:masterfrom
sopranopillow:react-datepicker-compat/space-fix
Mar 14, 2023
Merged

fix(react-datepicker-compat): Fix text entry issues with input#27204
sopranopillow merged 3 commits intomicrosoft:masterfrom
sopranopillow:react-datepicker-compat/space-fix

Conversation

@sopranopillow
Copy link
Contributor

Previous Behavior

When typing space i.e. "Jan 13 2020", space would not be captured and would result in a string like "Jan132020".

When deleting a character and the character is the only text in the input, it would not delete the character.

New Behavior

Input now works correctly as it should allowing space and letting backspace delete characters correctly

@sopranopillow sopranopillow self-assigned this Mar 14, 2023
@sopranopillow sopranopillow marked this pull request as ready for review March 14, 2023 18:10
@sopranopillow sopranopillow requested review from a team and khmakoto as code owners March 14, 2023 18:10
@fabricteam
Copy link
Collaborator

📊 Bundle size report

🤖 This report was generated against 5420a75a4a56f6004ef69b755ed2924edd98167e

@size-auditor
Copy link

size-auditor bot commented Mar 14, 2023

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 5420a75a4a56f6004ef69b755ed2924edd98167e (build)

@codesandbox-ci
Copy link

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 665fedc:

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

@sopranopillow sopranopillow merged commit 746ca11 into microsoft:master Mar 14, 2023
@sopranopillow sopranopillow deleted the react-datepicker-compat/space-fix branch March 14, 2023 19:08
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Mar 15, 2023
* master: (141 commits)
  chore: prerequisite changes before migrating v9 packages to SWC based transpilation (microsoft#26965)
  feat: Add InfoLabel component (microsoft#27118)
  fix(tools): update migrate-converged generator to add node field to package.json exports map (microsoft#27152)
  applying package updates
  fix: Embed play/pause indicator should render correctly in high contrast mode (microsoft#27213)
  feat(tokens): Add colorNeutralBackgroundAlpha and colorNeutralStrokeAlpha tokens (microsoft#27034)
  chore: Prepare release 0.66.4 (microsoft#27163)
  fix(react-datepicker-compat): Fix text entry issues with input (microsoft#27204)
  fix: Smooth out animation of indeterminate progress bar (microsoft#27201)
  Add cxe-red as a codeowner of react-file-type-icons (microsoft#27147)
  Added documentation about custom style hooks (microsoft#27087)
  Custom style react-text (microsoft#27078)
  Custom style react-image (microsoft#27066)
  Add JSDoc for tabster focus indicator selector (microsoft#27041)
  Theme designer: Move colors to local files (microsoft#27191)
  docs(react-card): move card out of preview (microsoft#27185)
  Include values in typography table (microsoft#27189)
  feat: accept a className in `mountNode` in `Portal` (microsoft#27008)
  RFC: Extend `mountNode` prop in `Portal` (microsoft#27009)
  applying package updates
  ...
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Mar 15, 2023
* master: (141 commits)
  chore: prerequisite changes before migrating v9 packages to SWC based transpilation (microsoft#26965)
  feat: Add InfoLabel component (microsoft#27118)
  fix(tools): update migrate-converged generator to add node field to package.json exports map (microsoft#27152)
  applying package updates
  fix: Embed play/pause indicator should render correctly in high contrast mode (microsoft#27213)
  feat(tokens): Add colorNeutralBackgroundAlpha and colorNeutralStrokeAlpha tokens (microsoft#27034)
  chore: Prepare release 0.66.4 (microsoft#27163)
  fix(react-datepicker-compat): Fix text entry issues with input (microsoft#27204)
  fix: Smooth out animation of indeterminate progress bar (microsoft#27201)
  Add cxe-red as a codeowner of react-file-type-icons (microsoft#27147)
  Added documentation about custom style hooks (microsoft#27087)
  Custom style react-text (microsoft#27078)
  Custom style react-image (microsoft#27066)
  Add JSDoc for tabster focus indicator selector (microsoft#27041)
  Theme designer: Move colors to local files (microsoft#27191)
  docs(react-card): move card out of preview (microsoft#27185)
  Include values in typography table (microsoft#27189)
  feat: accept a className in `mountNode` in `Portal` (microsoft#27008)
  RFC: Extend `mountNode` prop in `Portal` (microsoft#27009)
  applying package updates
  ...
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.

3 participants