Hi guys!
_You can test the issue here: http://dev.3818.com.ar/muq-bug-dropdown/_
Recently I had some problems with Popper JS, dropdowns and other elements did not work. I have solved it using the file bootstrap.bundle.min.js of version 4.0.0 of Bootstrap (apparently it has Popper JS included).
However, dropdowns have a strange behavior.
When I make the first click in the dropdown, bootstrap adds two attributes.
x-placement="bottom-start"
style="position: absolute; transform: translate3d(0px, 38px, 0px); top: 0px; left: 0px; will-change: transform;"
Then, when I make the second click, I can display the contents of the dropdown.
Details:
Before first click:
<div _ngcontent-c2="" aria-labelledby="dropdownMenuButton" class="dropdown-menu">
After first click:
<div _ngcontent-c2="" aria-labelledby="dropdownMenuButton" class="dropdown-menu" x-placement="bottom-start" style="position: absolute; transform: translate3d(0px, 31px, 0px); top: 0px; left: 0px; will-change: transform;">
After second click:
<div _ngcontent-c2="" aria-labelledby="dropdownMenuButton" class="dropdown-menu show" x-placement="bottom-start" style="position: absolute; transform: translate3d(0px, 31px, 0px); top: 0px; left: 0px; will-change: transform;">

Scripts section inside angular-cli.json

The issue was tested in:
Project details:
Others:
Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and OS details.
Maybe you can add your solution @lucasromerodb ?
@Johann-S Sure.
Delete all JS calls from index.html and call it in angular-cli.json
I have noticed this solution when reporting the error.
Now the dropdowns work well.
That's a pretty vague solution
@flashadvocate Yep, it doesn't work for me
Again...without a live reduced test case showing the problem, there's little we can do in order to track down potential causes... (hmm, I was replying to a recent comment, but the comment now seems to have disappeared...sorry for the noise)
i face the same issue with latest versions, here is my codepen