Bootstrap: missing ".dropdown-menu-right" in v4.0.0-beta

Created on 11 Aug 2017  路  8Comments  路  Source: twbs/bootstrap

In v4.0.0-beta there is no .dropdown-menu-right class.
It was included in v4.0.0-alpha6 and its there in docs.

Most helpful comment

I could not reproduce it: https://www.codeply.com/go/ULpwrXl7R1
But in my project i have also this issue since upgrading from alpha.6 to beta:
grafik
Can't find the difference

Update:
.dropdown-menu-right { right: 0; left: auto; }
Inserting this into my .css fixed this issue for me.

All 8 comments

That's right because Dropdown now depend on Popper.js and when you applied .dropdown-menu-right to your Dropdown it will be positionned by Popper.js not by CSS

Same here. The menu opens out of page in my right aligned navbar :-(

image

We cannot help you without a live example in a JSBin or Codepen

I've copied the example dropdown from getbootstrap.com and now it works for me.

image

Unfortunately i can't reproduce the error.

Closing out then. Please make sure y'all are using the latest code from the new beta docs <3.

I am having the same problem. I have reproduced it here:

https://jsbin.com/qemicohayu/edit?html,output

I could not reproduce it: https://www.codeply.com/go/ULpwrXl7R1
But in my project i have also this issue since upgrading from alpha.6 to beta:
grafik
Can't find the difference

Update:
.dropdown-menu-right { right: 0; left: auto; }
Inserting this into my .css fixed this issue for me.

See my answer here : https://github.com/twbs/bootstrap/issues/23479#issuecomment-323020849
@JavanXD

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tiendq picture tiendq  路  3Comments

devfrey picture devfrey  路  3Comments

ziyi2 picture ziyi2  路  3Comments

matsava picture matsava  路  3Comments

iklementiev picture iklementiev  路  3Comments