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: modifier "computeStyle" provided an invalid "enabled" property, expected "boolean" but got "undefined" #1408

Open
WorkAlexGahr opened this issue Apr 6, 2022 · 1 comment

Comments

@WorkAlexGahr
Copy link

Description

In our application we use popover.

Simular like this:


<Popover
        className={styles.popover}
        body={<HelpPopoverContent />}
        control={
          <Icon
            ariaLabel='toggle'
            glyph='sys-help'
            size='m'
            className={styles.icon}
            data-testid='toggle'
          />
        }
        placement='left-start'
        type='listbox'
        popperClassName={styles.body}
      />

In our console we get an error:

console.error
    Popper: modifier "computeStyle" provided an invalid "enabled" property, expected "boolean" but got "undefined"

      at forEach (node_modules/@popperjs/core/src/utils/validateModifiers.js:41:23)
          at Array.forEach (<anonymous>)
      at forEach (node_modules/@popperjs/core/src/utils/validateModifiers.js:24:8)
          at Array.forEach (<anonymous>)
      at validateModifiers (node_modules/@popperjs/core/src/utils/validateModifiers.js:20:13)
      at Object.setOptions (node_modules/@popperjs/core/src/createPopper.js:117:11)
      at createPopper (node_modules/@popperjs/core/src/createPopper.js:263:14)

  console.error
    Popper: modifier "computeStyle" provided an invalid "fn" property, expected "function" but got "undefined"

      at forEach (node_modules/@popperjs/core/src/utils/validateModifiers.js:67:23)
          at Array.forEach (<anonymous>)
      at forEach (node_modules/@popperjs/core/src/utils/validateModifiers.js:24:8)
          at Array.forEach (<anonymous>)
      at validateModifiers (node_modules/@popperjs/core/src/utils/validateModifiers.js:20:13)
      at Object.setOptions (node_modules/@popperjs/core/src/createPopper.js:117:11)
      at createPopper (node_modules/@popperjs/core/src/createPopper.js:263:14)

Versions

**fundamental-react:0.14.1


NOTE: Where applicable, please include uncropped screen captures.

DISCLAIMER:
After triaging an issue, the fundamental-react team will see if it can be reproduced or confirmed. If more information is needed, the fundamental-react team will contact the author. Any issues awaiting responses from the author for more than 7 days will be closed. The author can re-open the issue at a later time if they can present the requested information.

@github-actions
Copy link

github-actions bot commented Apr 6, 2022

Hello @WorkAlexGahr, thank you for using fundamental-react! The fundamental-react team will triage your issue as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant