Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Uncaught TypeError on dropdown element click. #2343

Closed
@aleclofabbro

Description

@aleclofabbro

I couldn't dig it too much but:
when opening a dropdown, and clicking a child-element,
this function
https://github.com/angular-ui/bootstrap/blob/master/src/dropdown/dropdown.js#L23
is invoked and sets openscope to null,
subsequently, this function is invoked
https://github.com/angular-ui/bootstrap/blob/master/src/dropdown/dropdown.js#L31
openscope is null there, and i get an Uncaught TypeError: Cannot read property 'getToggleElement' of null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions