Opened 22 months ago
Last modified 22 months ago
#7807 new defect (bug)
Close Button Not Working in Block Inserter Menu on "New Pattern" Page
| Reported by: | parthvataliya | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | WordPress.org Site | Keywords: | |
| Cc: |
Description
On the "New Pattern" page at WordPress.org, the close button in the block inserter menu is not functioning as expected. When clicking the close button, an error is thrown in the browser console, preventing the block inserter from closing properly. This issue disrupts the user experience by leaving the inserter open when it should close smoothly.
Steps to reproduce the issue:
- Navigate to the "New Pattern" page on WordPress.org.
- Open the block inserter menu.
- Attempt to close the block inserter by clicking the close button.
- Observe the error in the browser's developer console.
Attachments (2)
Change History (5)
#2
@
22 months ago
@dufresnesteven When the page is reloaded, the error does not occur. I previously created an issue for this, and @dd32 suggested that it could be related to a network issue.
#3
@
22 months ago
Same as the Browse all button click not working
Version 0, edited 22 months ago by
(next)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I'm actually getting an error on page load.
TypeError: Cannot read properties of undefined (reading 'title') at https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/editor/index.min.js?ver=920fbcffbef4cdefccc4:66:3636 at Array.some (<anonymous>) at Ja (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/editor/index.min.js?ver=920fbcffbef4cdefccc4:66:3615) at gt (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:45667) at yr (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:56332) at js (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:120992) at Sl (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88331) at kl (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88259) at bl (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:88122) at dl (https://wordpress.org/patterns/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:85300)