glennflanagan / react-collapsible

React component to wrap content in Collapsible element with trigger to open and close.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clicking quickly enough breaks the component

EdPutans opened this issue · comments

Describe the bug
When clicking at a rate of ~5 clicks per second the component stops folding.

To Reproduce
Steps to reproduce the behavior:

  1. Create a component wrapped in Collapsible.
  2. Smash it fast.
  3. Stops responding to clicks.

Expected behavior
Should NOT stop unfolding.

commented

@EdPutans What's your use case for clicking the Collapsible component quickly?

@karltaylor have you never seen an impatient person use a computer 🤣

exactly what glenn said :) being a neurotic person is tough

commented

@EdPutans How would you suggest we combat this issue?

commented

Closing due to inactivity, if you still have this issue and a viable solution please feel free to comment 😊