react-mic icon indicating copy to clipboard operation
react-mic copied to clipboard

Wave disappear after onStop is called

Open Muhammad-Adam opened this issue 4 years ago • 4 comments

<ReactMic
    record={record}
    className={styles.recordBar}
    onStop={onStop}
    strokeColor={"#001529"}
    backgroundColor={"#FFFFFF"}
/>

my onStop function is just storing the data in some state.

When my record boolean changed to false, the wave disappears.

Muhammad-Adam avatar Feb 27 '20 08:02 Muhammad-Adam

Yes I am having the same issue. After stop, the wave component disappears. Any solution?

nemesis1346 avatar Mar 06 '20 00:03 nemesis1346

Same problem here: https://codesandbox.io/s/ecstatic-dust-480ub

cropcrop avatar Mar 15 '20 11:03 cropcrop

Same issue, here! Any solution?

wiliam-toney avatar Apr 18 '20 02:04 wiliam-toney

Using version 1.1.2 of the package (prior to this commit) solves the problem of the wave disappearing. Not sure about the memory implications of using this version though.

gracew avatar Jul 20 '20 23:07 gracew