question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot read property 'jquery' of undefined in Popper

See original GitHub issue

Issue description

  • components: Dropdown
  • reactstrap version #5.0.0-alpha.3
  • react version #15.6.1
  • bootstrap version #4.0.0-beta

What is happening?

An error is thrown when opening Dropdown component

Error message in console

Uncaught TypeError: Cannot read property 'jquery' of undefined
    at new Popper (popper.js?660c:2319)
    at Popper._createPopper (Popper.js?1a33:173)
    at Popper._updatePopper (Popper.js?1a33:152)
    at Popper.componentDidMount (Popper.js?1a33:129)
    at eval (ReactCompositeComponent.js?063f:262)
    at measureLifeCyclePerf (ReactCompositeComponent.js?063f:73)
    at eval (ReactCompositeComponent.js?063f:261)
    at CallbackQueue.notifyAll (CallbackQueue.js?7abf:74)
    at ReactReconcileTransaction.close (ReactReconcileTransaction.js?2d36:78)
    at ReactReconcileTransaction.closeAll (Transaction.js?91bc:207)

What should be happening?

Dropdown should open

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
TheSharpieOnecommented, Oct 19, 2017

You have to use DropdownToggle

0reactions
TheSharpieOnecommented, Nov 16, 2017

I’m closing this since the the issue is no longer active and it appear it was answered above. Please comment and it will be opened if you feel the issue has not been resolved / the question has not been answered

Read more comments on GitHub >

github_iconTop Results From Across the Web

jquery is not defined popperjs line 2325 when used with ...
The theme I was working on when the question was asked has been replaced, so I can't go back and look (and I...
Read more >
Material Select - popper TypeError on drop down
The control appears, but when I click the arrow , but Chrome says: TypeError: Cannot read property 'setAttribute' of null at Object.
Read more >
Uncaught TypeError: Cannot read property 'call' of undefined
It's pointing to my vue component, I excluded it from app.js and it stills throws an error. Copy Code manifest.js:55 Uncaught TypeError: Cannot...
Read more >
TypeError: createPopper is not a function in Bootstrap JS
The "createPopper" is not a function error occurs when we use a Bootstrap component that requires the popper.js script, but don't load it...
Read more >
JavaScript · Bootstrap v5.0
Bootstrap will detect jQuery if jQuery is present in the window object and there is no data-bs-no-jquery attribute set on <body> . If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found