redux-devtools-chart-monitor icon indicating copy to clipboard operation
redux-devtools-chart-monitor copied to clipboard

not work when set props defaultIsVisible={ true } with <DockMonitor>

Open hronro opened this issue 7 years ago • 1 comments

I'm using the <DockMonitor>, and this is my code.

  <DockMonitor toggleVisibilityKey='ctrl-h'
               changePositionKey='ctrl-q'
               changeMonitorKey='ctrl-m'
               defaultIsVisible={ false }>
    <LogMonitor />
    <SliderMonitor />
    <DiffMonitor />
    <ChartMonitor />
  </DockMonitor>

It will work when defaultIsVisible is true

hronro avatar Oct 26 '16 12:10 hronro

More specifically, if it's closed when the app loads and then you open it and switch to it, there are no nodes. It's just a completely blank box. This bug also manifests itself if you rewind the state with a different monitor and switch to this monitor. Maybe that second one is not totally unexpected. I'm unclear how the internals of these monitors work, so maybe they only know about their own internally preserved state and changes from elsewhere cause no effects.

tandrewnichols avatar Mar 21 '17 14:03 tandrewnichols