[wp-trac] [WordPress Trac] #52022: 5.6 jquery-ui css not working as expected

WordPress Trac noreply at wordpress.org
Fri Dec 11 13:03:37 UTC 2020


#52022: 5.6 jquery-ui css not working as expected
-------------------------------+------------------------------
 Reporter:  arthurdaly         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  5.6
 Severity:  normal             |  Resolution:
 Keywords:  needs-screenshots  |     Focuses:  administration
-------------------------------+------------------------------

Comment (by arthurdaly):

 I think I've made an error as I thought I was loading 1.12.1 CSS to match
 the current version in `wp-includes/js/jquery/ui/dialog.js`. I was still
 loading 1.11.4. Also Woocommerce is loading this version, and it causes a
 conflict. It looks like the css file `wp-includes/css/jquery-ui-
 dialog.css` is still using 1.11.4, so maybe there's a bug there. I wasn't
 loading this file.

 By updating the CSS to 1.12.1, I was able to fix it, although there's
 still a small problem with the width of the selectmenu. It now changes to
 be wider, even though it's hard coded to be 170px. The width is correct
 with 1.11.4 CSS loaded, but I'm not sure what's causing this. Might be
 able to fix it by adding CSS scope.

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


More information about the wp-trac mailing list