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

Support column-reverse #222

Open
NRaf opened this issue Mar 11, 2020 · 2 comments
Open

Support column-reverse #222

NRaf opened this issue Mar 11, 2020 · 2 comments

Comments

@NRaf
Copy link

NRaf commented Mar 11, 2020

I have a use case when I need to split between two panels, but I'd like the order of the panes to flip around.

Basically, I have a table and a map. When in horizontal mode, I want the table to be on the left (this is currently what I have).

When I switch across to vertical, I want the table to be on the bottom, not top.

I can achieve this using column-reverse, which mostly works, however the dragging becomes inverted. If I drag up, the pane shrinks and vice versa.

.as-vertical {
  flex-direction: column-reverse;
}

It'd be great to have a reverse or similar input that basically does a row-reverse/column-reverse and ensures the dragging works as expected.

@beeman
Copy link
Collaborator

beeman commented Jul 23, 2020

Seems like a nice addition, I'm happy to review and merge a PR that adds support for this.

@beeman beeman added this to the v6 milestone Jul 23, 2020
@Harpush
Copy link
Collaborator

Harpush commented Aug 28, 2023

Can't you do it with order?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants