Skip to main content

Search and Top Navigation

#9403 closed bug (notabug)

Opened June 26, 2013 01:20PM UTC

Closed June 26, 2013 01:21PM UTC

Last modified June 26, 2013 02:45PM UTC

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.

Attachments (0)
Change History (4)

Changed June 26, 2013 01:21PM UTC by scottgonzalez comment:1

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.

Changed June 26, 2013 01:30PM UTC by Bertuccia comment:2

Replying to [comment:1 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.

Changed June 26, 2013 01:39PM UTC by scottgonzalez comment:3

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.

Changed June 26, 2013 02:45PM UTC by Bertuccia comment:4

Replying to [comment:3 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.