dockview icon indicating copy to clipboard operation
dockview copied to clipboard

no-drop-target doesn't seem to work

Open h3adache opened this issue 4 months ago • 1 comments

Describe the bug I'm trying to constrain each group to a single panel. Reading the docs here: https://dockview.dev/docs/core/groups/locked This should work by setting locked='no-drop-target' but that doesn't seem to do anything.

To Reproduce dockview.dev provides a number of examples with Code Sandbox templates. Are you able to produce the bug by forking one of those templates? Sharing a link to the forked sandbox with the bug would be extremely helpful.

Even locked={true} in the example codesandbox doesn't seem to do anything different from the normal behavior.

Steps to reproduce the behavior:

  1. Go to the example codesandbox
  2. try to drag panel 1 into panel 2 group.
  3. see that it still allows you to add panel 1 to the same group as panel 2.

Expected behavior The expected behavior is that it works as shown in this PR that added the feature.

Screenshots Image

Desktop (please complete the following information):

  • Browser chrome
  • Version 138.0.7204.184

h3adache avatar Aug 07 '25 13:08 h3adache

Is the ability to prevent tabbing of panels no longer supported?

h3adache avatar Aug 24 '25 01:08 h3adache