Bug Tracker

Opened 8 years ago

Closed 7 years ago

#10854 closed bug (notabug)

Problem with .hover() and IE9

Reported by: zeljko Owned by:
Priority: low Milestone: 1.next
Component: effects Version: git
Keywords: Cc:
Blocked by: Blocking:

Description

I have a strange problem with .hover() and IE9. When I create div with a scroll bar and inside that div when I use hover to toggle inner div class I see that outer div is expanding on every mouseenter/leave.

Fiddle: http://jsfiddle.net/vhkfg/4/

Try to move mouse over "test" word few times and see how outer div is expanding. Only in IE9.

Change History (4)

comment:1 Changed 8 years ago by dmethvin

Component: unfiledeffects
Milestone: None1.next
Priority: undecidedlow
Status: newopen

It's not the hover part, because this does it too:

http://jsfiddle.net/dmethvin/vhkfg/8/

Looks like the toggling code in 1.7 is calculating the height wrong, it could be because of the scroll bar.

comment:2 Changed 7 years ago by chiponium@…

Your overflow: auto is causing the issue.

comment:4 Changed 7 years ago by dmethvin

Resolution: notabug
Status: openclosed

This isn't a jQuery bug and not something we can fix.

Note: See TracTickets for help on using tickets.