svgOverlay can be rendered directly into canvasWrapper instead of r3fRoot. This opens up an opportunity to let SVG elements overflow in the future; however, for now, the overflow remains hidden. It also removes the need to render the overlay with Html, which most likely provides a very small performance gain on initial render.
1467 allows further simplification:
svgOverlay
can be rendered directly intocanvasWrapper
instead ofr3fRoot
. This opens up an opportunity to let SVG elements overflow in the future; however, for now, the overflow remains hidden. It also removes the need to render the overlay withHtml
, which most likely provides a very small performance gain on initial render.floatingToolbar
can be rendered intovisCanvas
and positioned with CSS Grid properties. This paves the way to https://github.com/silx-kit/h5web/issues/1388#issuecomment-1673269269 and also removes the need forHtml
.