Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popper: throws an error in dev check #16192

Closed
layershifter opened this issue Dec 9, 2020 · 1 comment · Fixed by #16392
Closed

Popper: throws an error in dev check #16192

layershifter opened this issue Dec 9, 2020 · 1 comment · Fixed by #16392
Assignees
Labels
Fluent UI react-northstar (v0) Work related to Fluent UI V0 Status: Fixed Fixed in some PR Type: Bug 🐛

Comments

@layershifter
Copy link
Member

TypeError
Cannot read property 'pendingProps' of undefined
    at hasAutofocusProp (https://1xhm3.csb.app/node_modules/
fluentui/react-northstar/dist/es/utils/positioner/Popper.js:31:165
    at Object.hasAutofocusFilter [as acceptNode] (https://1xhm3.csb.app/node_modules/
fluentui/react-northstar/dist/es/utils/positioner/Popper.js:34:10
    at eval (https://1xhm3.csb.app/node_modules/
fluentui/react-northstar/dist/es/utils/positioner/Popper.js:46:27

Environment Information

  • Package version(s): @fluentui/react-northstar@0.51.3 & react@17
  • Browser and OS versions: N/A

Please provide a reproduction of the bug in a codepen:

Open a CodeSandbox: https://codesandbox.io/s/dry-hooks-1xhm3
Click on an input.

Actual behavior:

Throws an error.

Expected behavior:

Opens a Datepicker.

@sushruth
Copy link

sushruth commented Jan 6, 2021

Currently this is affecting unit tests on apps using @fluentui/react-northstar and react 17. A milestone to look forward to will be much appreciated

@microsoft microsoft locked as resolved and limited conversation to collaborators Feb 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Fluent UI react-northstar (v0) Work related to Fluent UI V0 Status: Fixed Fixed in some PR Type: Bug 🐛
Projects
None yet
5 participants