Open philippotto opened 5 years ago
This is partly resolved in #4031. Components which still break because of this (but lower prio):
See https://github.com/scalableminds/webknossos/pull/5429/files#r621310352 which again gave some attention to this issue. The new FlexLayout lazily renders the input-catchers (so, if the viewport is hidden by the layout it won't be rendered at all). Since we are waiting for these DOM elements, the current approach is a bit sub-optimal (perf-wise and also in general a bit messy).
At the moment, we are manually attaching to a dom node via a selector, which can change (e.g., when the golden layout adapter re-instantiates the layout) though.