Skip to main content

Bug Tracker

Side navigation

#6052 closed bug (invalid)

Opened February 08, 2010 11:13AM UTC

Closed October 07, 2010 07:20PM UTC

Last modified November 18, 2010 09:02AM UTC

Google Chrome: losing focus on input when remove class

Reported by: christianhaller 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.

Attachments (0)
Change History (2)

Changed October 07, 2010 07:20PM UTC by addyosmani comment:1

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.

Changed November 18, 2010 09:02AM UTC by anonymous comment:2

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