When I update notation in the textarea <Notation /> is updated correctly, but <Midi /> is not affected.
Code to reproduce the problem:
import React, {useState} from 'react';
import { Notation, Midi } from 'react-abc';
function App() {
const [notation,setNotation] = useState('CDEF GABc|');
return (
<div className="App">
<textarea value={notation} onChange={(e) => setNotation(e.target.value) } />
<Notation notation={notation} />
<Midi notation={notation} />
</div>
);
}
export default App;
When I update notation in the textarea
<Notation />is updated correctly, but<Midi />is not affected.Code to reproduce the problem: