Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#15055 closed bug (fixed)

checkbox radio inside dialog does not work

Reported by: Backslider23 Owned by: arschmitz
Priority: minor Milestone: 1.12.2
Component: ui.checkbxoradio Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:

Description

I am using a jquery-ui checkbox within a dialog. This is causing the ".ui-widget-content .ui-state-hover" css rule that defines the background property to override the .ui-icon-check rule that defines the correct background-position for the checkbox image. I believe this is because it is more specific.

The result is that a checkbox within a widget-content shows the wrong image.

Check it here: https://jsfiddle.net/4gj76rsL/3/

Change History (3)

comment:1 Changed 6 months ago by arschmitz

  • Owner set to arschmitz
  • Status changed from new to assigned

Whats interesting is this only seems to be when the checkbox is initially checked in the markup the first one thats not seems to work fine.

comment:2 Changed 6 months ago by arschmitz

  • Resolution set to fixed
  • Status changed from assigned to closed

In b9d687d:

Checkboxradio: Don't add ui-state-hover to icons

Fixes #15055
Closes gh-1756

comment:3 Changed 6 months ago by scottgonzalez

  • Component changed from ui.core to ui.checkbxoradio
  • Milestone changed from none to 1.12.2
Note: See TracTickets for help on using tickets.