Bug Tracker

Ticket #6538 (closed bug: invalid)

Opened 5 years ago

Last modified 3 years ago

Toggle doesn't work in Chrome

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

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

Change History

comment:1 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid
  • Component changed from unfiled to fx

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

comment:2 Changed 4 years ago by anonymous

comment:3 Changed 3 years ago by anonymous

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

comment:4 Changed 3 years ago by michelle

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.

comment:5 Changed 3 years ago by emilrising

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.

Note: See TracTickets for help on using tickets.