Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#9403 closed bug (notabug)

Problem jquery ui (from 1.9.0 and later) in ui-state-hover using autocomplete combobox

Reported by: Bertuccia Owned by:
Priority: minor Milestone: none
Component: ui.css-framework Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Description

Hello, i've a little problem with ui-state-hover. I want change background color of "li" element in the list, it's easy to do using code like that ".ui-autocomplete li.ui-menu-item a:hover{background: blue;color:white;}". This css function work perfectly, but a little problem is present. When my cursor is over the selected element, the "hover" css work correctly, but when i move my cursor, the background color change into default state only for one second This problem is present only from 1.9 and later version (about jquery - ui). Can you help me please ? Thank a lot.

Change History (4)

comment:1 Changed 7 years ago by Scott González

Resolution: notabug
Status: newclosed

It sounds like the problem is likely outside of jQuery UI. Please use the forums or Stack Overflow for help. If you can provide a reduced test case proving that the bug is in jQuery UI, you can reply here and we'll reopen the ticket.

comment:2 in reply to:  1 Changed 7 years ago by Bertuccia

Replying to scott.gonzalez:

It sounds like the problem is likely outside of jQuery UI. Please use the forums or Stack Overflow for help. If you can provide a reduced test case proving that the bug is in jQuery UI, you can reply here and we'll reopen the ticket.

Hello, you can test here the problem --> http://jsfiddle.net/tVvxh/1/

Thanks a lot.

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

That fiddle doesn't use .ui-state-hover, it uses a:hover, which is not the same thing. You should be styling the framework classes. Please ask for help on the forums.

comment:4 in reply to:  3 Changed 7 years ago by Bertuccia

Replying to scott.gonzalez:

That fiddle doesn't use .ui-state-hover, it uses a:hover, which is not the same thing. You should be styling the framework classes. Please ask for help on the forums.

You're rihgt, i made a mistake in the title. I opened a post on the forums, also if i don't understand why with jquery ui 1.8.3 work perfectly (maybe it was a problem in that version?).

Regards.

Note: See TracTickets for help on using tickets.