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

select in navbar (update error) #2062

Closed
ghost opened this issue Aug 26, 2018 · 3 comments
Closed

select in navbar (update error) #2062

ghost opened this issue Aug 26, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 26, 2018

@felixvictor commented on Feb 18, 2018, 10:55 AM UTC:

bootstrap-select 1.13.0-beta, bootstrap 4

Opening a select in a navbar a second time (open -> close -> open) leads to the error
Uncaught TypeError: Cannot read property 'update' of null

Responsible code line
if (this.dropdown) this.dropdown._popper.update();

Live example

Update: From the bootstrap docs

Popper.js isn’t used to position dropdowns in navbars though as dynamic positioning isn’t required.

This issue was moved by caseyjhol from snapappointments/bootstrap-select-temp#5.

@ghost
Copy link
Author

ghost commented Aug 26, 2018

@caseyjhol commented on Apr 19, 2018, 3:27 PM UTC:

Released in v1.13.0!

@ghost
Copy link
Author

ghost commented Aug 26, 2018

@pepe95270 commented on Jul 23, 2018, 5:26 PM UTC:

Regression in v1.13.1 ;)

Thanks for your time

@ghost
Copy link
Author

ghost commented Aug 26, 2018

@caseyjhol commented on Aug 24, 2018, 9:43 PM UTC:

@pepe95270 I can't recreate this issue with v1.13.1: https://jsfiddle.net/adh7yf19/.

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