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

Unable to close select with Angular 7 #16

Open
dodomui opened this issue May 3, 2019 · 3 comments
Open

Unable to close select with Angular 7 #16

dodomui opened this issue May 3, 2019 · 3 comments

Comments

@dodomui
Copy link

dodomui commented May 3, 2019

Hi, I can working fine with Angular 7.
But after trigger the select dropdown, it keep showing, unable to close it.

Only found below warning in inspect element.
Screenshot 2019-05-03 at 4 54 47 PM

@PandaTeemo
Copy link

PandaTeemo commented May 10, 2019

this is caused by dependency: select2, the latest version fixes this

@dodomui
Copy link
Author

dodomui commented May 12, 2019

I had upgrade select2 version to 4.0.7-rc.0
But the problem still the same, the select dropdown close and open automatically after I click on the select dropdown.

@PandaTeemo
Copy link

verify timezone selector actually IS using newest select2:

check select2 version uses ng2-timezone-selector by looking at
node_modules/ng2-timezone-selector/node_modules/select2/package.json

for me, the ^ prefix didnt work to use 4.0.7-rc.0 so I had to call following manually (in a makefile)
cd node_modules/ng2-timezone-selector;
npm install select2@latest --save

after everything was already updated. to force the latest version

also the official 4.0.7 is already available, but not may yet not be reflected in all the repos. So expect everything to just work soon :)

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

2 participants