Skip to content

Conversation

@mslxl
Copy link

@mslxl mslxl commented Jun 1, 2025

Resolve #894

Add headerPosition option to DockviewGroupPanel so that the user can change the position of the tab container in Dockview.

I have added a new action to packages\docs\sandboxes\react\dockview\demo-dockview, which allows the position field to loop through 'top', 'left', 'bottom', and 'right'.

Position Image
top image
left image
bottom image
right image

Tested on firefox and chrome

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 1, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 30ccca0:

Sandbox Source
customheader-dockview Configuration
dockview-app Configuration
editor-gridview Configuration
externaldnd-dockview Configuration
fullwidthtab-dockview Configuration
iframe-dockview Configuration
keyboard-dockview Configuration
nativeapp-dockview Configuration
rendering-dockview Configuration

@mslxl
Copy link
Author

mslxl commented Jun 1, 2025

Umm, the result of codesandbox is different from my local environment. I am not familiar with codesandbox-ci. Is the CI configured right, or is there something wrong with me?

Here is the result of nativeapp-dockview in my local environment(I run it by modifying the ExampleFrame component):
image

Besides, if I omit some subtle detail or screwed up some features exists before, please tell me so I can fix it.

@SeanBannister
Copy link

This is fantastic and I'm really keen for it, could I suggest changing the orientation of the left tabs:

image

@AliFlux
Copy link

AliFlux commented Oct 29, 2025

Nice! Cant wait for it to merge

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

Successfully merging this pull request may close these issues.

Vertical Tab

3 participants