-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple "Expand details" links in upload media form #5
Comments
@thedonquixotic Can you reproduce this with your local setup? |
@rchipka hi. Maybe it's cache or something like this? I found a bit of code where this link created in original acf plugin, but I don't sure what it's right place to looking for reasons of that bug. |
@rchipka hi) I understand what actions make this bug. If you created custom block with image or gallery field (without repeater as a parent) and duplicate or create new blocks same type you get +3 links "Expand details" every time (but if you clone block in first time you get +2 links). |
@rchipka P.S. I found in acf-input.js what in initialization moment (maybe initialization fields group) happened append expand links but it happened without checking if links' block is exist. I can fix it in my {custom_name_file}.js in my theme, but when media upload popup is appears we see remove this link process. Duration <1 sec. but anyway it's not good solution to use it on production:-) |
My initial thought is that it could be related to using Do we know if the issue exists when adding multiple unique media upload fields (i.e. 2+ fields that aren't duplicated in the Gutenberg editor)? |
Fixed in latest version |
Find some another bug )
![image](https://user-images.githubusercontent.com/14121426/44706986-26bd0080-aac5-11e8-8e1a-75662fb216a4.png)
The text was updated successfully, but these errors were encountered: