Bug Tracker

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#6052 closed bug (invalid)

Google Chrome: losing focus on input when remove class

Reported by: Christian Haller Owned by:
Priority: undecided Milestone: 1.4.2
Component: event Version: 1.4.1
Keywords: input, focus, chrome Cc:
Blocked by: Blocking:

Description

I'm using Google Chrome 4 on Snow Leopard.

I validate a form with the Validation Plugin. I override the unhighlight function:

$(element).parent('span').removeClass();

In FF and Safari everything is okay. But in Chrome, I lose the focus, when the field unhighlights. That's strange. When I try .css() instead of .removeClass() the focus is staying on the input.

Change History (2)

comment:1 Changed 9 years ago by addyosmani

Priority: undecided
Resolution: invalid
Status: newclosed

As this ticket is referring to issues stemming from a jQuery plugin and not the core please submit your questions regarding it to the respective Validation website.

comment:2 Changed 9 years ago by anonymous

I have similiar event like you. When I remove something on the page by empty or remove, my page scroll up to this place.

Note: See TracTickets for help on using tickets.