Feature request: dropdown position centred

I would love to have an option for having the dropdown be centred to the toggle.
I know this can be achieved with a bit of CSS:

.x-dropdown {
  left: auto !important;
  right: auto !important;
}

However, ideally we would be able to set it to prefer centred, but push left or right (and above or below) based on the position in the viewport (or container) so that it is always visible.

Thanks!

1 Like

Yes I can add a “Top Center” and “Bottom Center” option for you. Have a great day.

3 Likes

Ah that would be excellent, thanks!

1 Like

@Charlie did this ever get added? I don’t see it currently, but maybe I’m looking in the wrong place? :man_shrugging:

It’s almost ready. We will probably see it in a release or two. Have a great day.

1 Like