You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a personal support request that should be posted on the Roots Discourse forums
What is the current behavior?
Popper (required by Bootstrap 4 Beta for dropdowns) is not working in Sage9 Beta 4. I banged my head against an existing theme I'd ported into Beta 4 for a while with no luck, and eventually tried a plain vanilla Beta 4 and found the same results.
Upon clicking a dropdown trigger, I get the following message:
TypeError: Object is not a constructor (evaluating 'new Popper(element, this._menu, this._getPopperConfig())')
I tried importing Popper in main.js and nothing changed.
What is the expected or desired behavior?
Popper should work, as it's required for Bootstrap 4 functionality.
Bug report
Please provide steps to reproduce, including full log output:
Install a fresh copy of Sage9 Beta 4 with composer, run basic setup and yarn steps
Add the following Bootstrap 4 example code to a view:
Submit a feature request or bug report
What is the current behavior?
Popper (required by Bootstrap 4 Beta for dropdowns) is not working in Sage9 Beta 4. I banged my head against an existing theme I'd ported into Beta 4 for a while with no luck, and eventually tried a plain vanilla Beta 4 and found the same results.
Upon clicking a dropdown trigger, I get the following message:
I tried importing Popper in
main.js
and nothing changed.What is the expected or desired behavior?
Popper should work, as it's required for Bootstrap 4 functionality.
Bug report
Please provide steps to reproduce, including full log output:
yarn
stepsyarn build
and see the console errors when you try to trigger the dropdown.Please describe your local environment:
WordPress version: 4.8.1
OS: MacOS X
NPM/Node version: v7.4.0
Where did the bug happen? Development or remote servers?
Development
Is there a related Discourse thread or were any utilized (please link them)?
No
The text was updated successfully, but these errors were encountered: