[wp-trac] [WordPress Trac] #63465: Events and News Widget: Empty <ul> Appears Without City Selection Causing Layout Shift

WordPress Trac noreply at wordpress.org
Thu Jul 31 12:10:22 UTC 2025


#63465: Events and News Widget: Empty <ul> Appears Without City Selection Causing
Layout Shift
-------------------------------------+-------------------------------------
 Reporter:  dvpatel                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Widgets                  |     Version:  6.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots has-     |     Focuses:  ui, css,
  patch needs-testing                |  administration
-------------------------------------+-------------------------------------

Comment (by ankitkumarshah):

 Hi @dvpatel,
 I also tried to reproduce the issue, but as mentioned by @sabernhardt, I
 was unable to find any empty `ul` tag instead, I got the following:

 {{{
 <ul class="community-events-results activity-block last" aria-
 hidden="false">
   <li class="event-none">
     There are no events scheduled near None at the moment. Would you like
 to <a href="https://make.wordpress.org/community/handbook/meetup-
 organizer/welcome/">organize a WordPress event</a>?
   </li>
 </ul>
 }}}

 [[Image(https://i.postimg.cc/TYBqycn0/Screenshot-2025-07-31-at-5-38-30-PM.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63465#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list