Ticket #8322 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Autocomplete: Combobox demo should not override .ui-button styles

Reported by: VitalyT Owned by:
Priority: minor Milestone: 1.8.21
Component: ui.autocomplete Version: 1.8.20
Keywords: Cc:
Blocking: Blocked by:

Description

In the example for Autocomplete->Combobox the code suggests use of style as below, which gets into conflict with any button you have in the UI. UI sample should not be detached from the real-world use, and not suggest use of styles that will screw up everything else.

.ui-button {

position: absolute; top: 0; bottom: 0; margin-left: -1px; padding: 0; /* adjust styles for IE 6/7 */ *height: 1.7em; *top: 0.1em;

}

Change History

comment:1 Changed 3 years ago by scott.gonzalez

  • Component changed from ui.core to ui.autocomplete
  • Summary changed from Example for Autocomplete->Combobox is plain bad to Autocomplete: Combobox demo should not override .ui-button styles

comment:2 Changed 3 years ago by Scott González

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

Autocomplete combobox demo: Add combobox-specific classes for styling. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles.

Changeset: 1b19121189356879ca39a19ba241a04ff4786b62

comment:3 Changed 3 years ago by Scott González

Autocomplete combobox demo: Add combobox-specific classes for styling. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles. (cherry picked from commit 1b19121189356879ca39a19ba241a04ff4786b62)

Conflicts:

demos/autocomplete/combobox.html

Changeset: 637d102e59b4b8e6bf4f631bdbe8d298e5874f63

comment:4 Changed 3 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.21
Note: See TracTickets for help on using tickets.