Skip to main content

Bug Tracker

Side navigation

#6538 closed bug (invalid)

Opened May 06, 2010 06:01PM UTC

Closed June 15, 2010 01:43AM UTC

Last modified December 09, 2011 01:43PM UTC

Toggle doesn't work in Chrome

Reported by: dwest Owned by:
Priority: Milestone: 1.4.3
Component: effects Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

Using toggle to show/hide elements does not appear to work in Chrome.

See an example here:

http://blackfoot.appstate.edu/~dwest/test/hall_expander/expander.html

Attachments (0)
Change History (5)

Changed June 15, 2010 01:43AM UTC by dmethvin comment:1

component: unfiledfx
resolution: → invalid
status: newclosed

Can you narrow down the test case a bit more? Use only jQuery core so we can establish that it's a core bug.

Changed November 10, 2010 08:04AM UTC by anonymous comment:2

Changed June 23, 2011 08:39AM UTC by anonymous comment:3

I have met this problem too. has anyone solved it?

Changed July 05, 2011 02:21AM UTC by michelle comment:4

I've just run into this as well...

I have a login form being included:

login.html:

<span class="login" >

<form id="loginform" method="post" action=".">

{% csrf_token %}

{{ form.username }}

{{ form.password }}

<input type="submit" value="{% trans 'Log in' %}" />

<input type="hidden" name="next" value="{{ next }}" />

</form>

<p>{% trans "Forgot password" %}? <a href="{% url auth_password_reset %}">{% trans "Reset

it" %}</a>!</p>

</span>

index.html:

<span class='a'>{% trans "Log in" %}</span>

<script>

$(document).ready(function(){

$(".login").hide();

$(".a").click(function(){

$(".login").toggle();

});

});

</script>

This works in firefox4+, but not in Chrome 12.0.742.100. Going to attempt a chrome update to see if that helps.

Changed December 09, 2011 01:43PM UTC by emilrising comment:5

HI.

As far as I can tell, I run into this issue as soon as I want to float something. If this is the case in your code, try removing the float and see if it works.