Skip to content

Events not firing if using setState on event #7

Open
@jeffchan

Description

I am using a slightly modified version to detect when the Chosen dropdown has closed (chosen:hiding_dropdown event).
When I select an option from the dropdown, Chosen fires two events, "chosen:hiding_dropdown" and "change." However, in React, only one event shows up.

You can see the reproduction here http://jsfiddle.net/jeffchan/vySpj/

Steps to reproduce:

  1. Select an option from the dropdown
  2. Check the console output.

Expected:
show dropdown
hide dropdown
handle change

Actual:
show dropdown
hide dropdown

original: https://groups.google.com/d/msgid/reactjs/cd78a2fb-2c6d-406c-b0b4-1ec8ce869308%40googlegroups.com?utm_medium=email&utm_source=footer

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions