Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Drag feature on grid field fails to initialise when using multiple section tabs #2530

Open
sebszocinski opened this issue Nov 2, 2020 · 0 comments

Comments

@sebszocinski
Copy link

Describe the bug
If you have a grid field inside a section tab that isn't the first or default tab, the grid feature doesn't seem to initialise and work.

To Reproduce

  1. Create a Fieldset with multiple section tabs
  2. Add a Grid fieldtype to one of the section tabs that isn't the main / default one.
  3. Create a new entry, add some items to the grid and save
  4. Edit entry, click on tab that has the grid field and try to drag and re-order the grid field.

Expected behavior
Grid rows should be draggable

Workaround
I found a workaround by resizing the window down to mobile and back to desktop seems to re-initialise the view and then the drag feature works again.

Environment details (please complete the following information):

  • Statamic Version 2.11.14
  • Browser: Chrome
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant