Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

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

Open
hronro opened this issue Oct 26, 2016 · 1 comment
Open

Comments

@hronro
Copy link

hronro commented Oct 26, 2016

I'm using the , 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

@tandrewnichols
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants