Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown - _this._dropdown.blur is not a function #695

Closed
giacomorebonato opened this issue Oct 17, 2016 · 2 comments
Closed

Dropdown - _this._dropdown.blur is not a function #695

giacomorebonato opened this issue Oct 17, 2016 · 2 comments

Comments

@giacomorebonato
Copy link

I am using a dropdown inside a Menu as a Menu.Item

<Menu.Menu position='right'>
    <Dropdown as={Menu.Item} text='Profile'>
        <Dropdown.Menu>
            <Dropdown.Item>Electronics</Dropdown.Item>
            <Dropdown.Item>Automotive</Dropdown.Item>
            <Dropdown.Item>Home</Dropdown.Item>
        </Dropdown.Menu>
    </Dropdown>
</Menu.Menu>

Steps

  1. I click to open the dropdown
  2. I click outside the dropdown

Actual Result

I get the following error in the console when the dropdown closes and when I unsuccessfully try to re-open it

Dropdown.js?ea24:517 Uncaught TypeError: _this._dropdown.blur is not a function

Version

0.56.4

Testcase

http://codepen.io/giacomorebonato/pen/bwmNbm

@levithomason
Copy link
Member

Duplicate #659

@levithomason
Copy link
Member

Released in [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants