Skip to content

Conversation

kjbenk
Copy link
Contributor

@kjbenk kjbenk commented Nov 9, 2021

Description

FM uses the jQuery :visible selector to determine if the sortable list should be initialized. This can return false during initialization when rendered in Gutenberg. Based on some of my research this seems to be related to the sortable list element having a width and height of 0 when the function is called.

Overall, I do not have much insight into why the visibility check was added (outside of assuming it was to prevent initializing sortable lists for collapsed meta boxes), so I am unsure what effects this update will have.

@kjbenk kjbenk added the bug Something isn't working label Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant