Giter Site home page Giter Site logo

Comments (6)

rchipka avatar rchipka commented on June 22, 2024

@thedonquixotic Can you reproduce this with your local setup?

from advanced-custom-blocks.

ATomilov avatar ATomilov commented on June 22, 2024

@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.

from advanced-custom-blocks.

ATomilov avatar ATomilov commented on June 22, 2024

@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).

from advanced-custom-blocks.

ATomilov avatar ATomilov commented on June 22, 2024

@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:-)

from advanced-custom-blocks.

rchipka avatar rchipka commented on June 22, 2024

My initial thought is that it could be related to using acf.do_action('ready') after each block render.

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)?

from advanced-custom-blocks.

rchipka avatar rchipka commented on June 22, 2024

Fixed in latest version

from advanced-custom-blocks.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.