Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Dropdown toggle bug #970

@Boilingwaterr

Description

@Boilingwaterr

Toggle handler has an error in the interface

image

To Reproduce it open sandbox

Steps to reproduce the behavior:

  1. Create dropdown with Dropdown component
  2. Pass an onToggle function as a props
  3. Click it
  4. See an error

Reproducible Example

Minimal example by using CodeSandbox.

Expected behavior

Flag show should be boolean

Received

false or event
image

Environment

  • Browser, Version [e.g. Chrome 74]
  • react-overlays Version [e.g. 2.0.0]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions