kevinsqi / react-piano

An interactive piano keyboard for React
https://www.kevinqi.com/react-piano/
MIT License
281 stars 76 forks source link

When using two piano keyboards in two lines, on renderNoteLabel only labels on bottom keyboard will be turned of on #101

Open JanVeb opened 2 years ago

JanVeb commented 2 years ago
  <PianoController firstNote="f4" secondNote="f7" soundFont={soundFont} />
  <PianoController firstNote="e1" secondNote="e4" soundFont={soundFont} />

Hi there, Im using your keyboard on mobile screen, so I split it in two keyboards due to screen size.

When I'm turning note labels on or off, only note labels on bottom keyboard will be turned off or on, only after app is restarted, will both keyboards labels be turned of or on, how could I change that so that I can turn labels on both keyboards?