Hi,
thanks for reporting me that issue.
The t.ui_event_ajax(); was replaced by a mutation observer to detect new tables in different situations and locations. For some reason this doesn’t seem to work in your situation. Can you help me clarify the circumstances?
I would like to ask:
- Which browser and version are you using?
- Does the problem also occur in another browser?
- Which operating system and version are you using?
- Can you provide me the
acf_register_block_type() parameters for your use?
- Are there JavaScript errors in the console and can you provide them if relevant?
Thanks a lot,
Johann
Hi Johann,
Thank you for your quick reply!
I did some more testing by isolating everything on a new installation, and the plugin worked perfectly, suggesting that the problem was on my end.
I found the issue – the latest version of the Resizable Editor Sidebar plugin is not compatible with the Advanced Custom Fields: Table Field plugin, or vice versa.
When I disabled the Resizable Editor Sidebar, the plugin worked fine. Ah, It is quite a handy plugin, especially when dealing with a ton of options in the sidebar. Any ideas on what we could do?
Thank you!
Thanks for the research. Yes, there is an issue with the “Resizable Editor Sidebar” plugin script. The “Resizable Editor Sidebar” plugin script fires every 500 milliseconds a jQuery UI resizable() at the sidebar element causing a mutation event every 500 milliseconds. That prevents the mutation observer threshold of the table field plugin of 500 milliseconds. I will reduce the table field mutation threshold number to fix that issue in the next plugin version.
Thanks,
Johann
I have also sent a suggestion to the “Resizable Editor Sidebar” plugin development team on how to fix this unnecessary behavior of their script.
Thank you, Johann, for all your help! Keep up the great work!
The next plugin release v1.3.26 will be available by the end of the week. But you can download and test it now:
https://downloads.wordpress.org/plugin/advanced-custom-fields-table-field.1.3.26.zip
v1.3.26 should fix the missing table in the sidebar when using the Resizable Editor Sidebar plugin.
Thanks for the motivation and feedback. It helps.
Johann
Johann, I just tested it, and it works perfectly. Thanks a lot!