Skip to content
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

'Duplicate' blocks from "List View" throws an error. #38759

Closed
delowardev opened this issue Feb 12, 2022 · 0 comments · Fixed by #38760
Closed

'Duplicate' blocks from "List View" throws an error. #38759

delowardev opened this issue Feb 12, 2022 · 0 comments · Fixed by #38760
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@delowardev
Copy link
Contributor

Description

Clicking on the 'Duplicate' menu throws an error in the console.

The error message is:

Uncaught (in promise) TypeError: event.stopPropagation is not a function

Step-by-step reproduction instructions

  1. Open List View
  2. Open block dropdown menu
  3. Click "Duplicate"

Screenshots, screen recording, code snippet

Screen Shot 2022-02-12 at 6 14 39 PM

Environment info

  • WordPress: 5.9
  • Gutenberg: 12.6.0-rc.1
  • Browser: Chrome

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

delowardev added a commit to delowardev/gutenberg that referenced this issue Feb 12, 2022
@delowardev delowardev changed the title List View: 'Duplicate' blocks throw an error. 'Duplicate' blocks from "List View" throws an error. Feb 12, 2022
@skorasaurus skorasaurus added [Type] Bug An existing feature does not function as intended [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Status] In Progress Tracking issues with work in progress labels Feb 12, 2022
talldan pushed a commit that referenced this issue Feb 14, 2022
* Fix: Select block after duplicate

See: #38759

* Fix: Select block after duplicate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants