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

TypeError: Cannot read property 'update' of undefined #254

Closed
ghenania opened this issue Apr 23, 2019 · 1 comment · May be fixed by ajesse11x/cms#3
Closed

TypeError: Cannot read property 'update' of undefined #254

ghenania opened this issue Apr 23, 2019 · 1 comment · May be fixed by ajesse11x/cms#3
Labels

Comments

@ghenania
Copy link

Uncaught (in promise) TypeError: Cannot read property 'update' of undefined
    at VM340 app.min.js:85619
    at Tooltip._append (VM340 app.min.js:85911)
    at Tooltip._ensureShown (VM340 app.min.js:85745)
    at Tooltip._show (VM340 app.min.js:85689)
    at Timeout._onTimeout (VM340 app.min.js:85995)
    at ontimeout (timers.js:380)
    at tryOnTimeout (timers.js:244)
    at Timer.listOnTimeout (timers.js:214)

It seems that this.popperInstance is not defined in _setContent. I had a quick look at ensureShown function and I don't understand why this._setContent(...) is called before popperInstance is initialized.

My tooltips are mostly attached to buttons and filled with simple text.
Anything I missed here or is it a bug ?

@Akryum Akryum added the bug label Apr 28, 2019
@Akryum Akryum closed this as completed in 4fd943b Apr 28, 2019
@ghenania
Copy link
Author

ghenania commented Apr 29, 2019

Thanks for this fix!

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

Successfully merging a pull request may close this issue.

2 participants