getBBox() returns zero when element not in render tree #4180
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
If the result of getBBox() is incorrect, the layout result will also be incorrect. Rerender can fix it
But all subsequent results will also be incorrect when an incorrect bounding box is cached. (such as Lodash.memoize)
Steps to reproduce
Screenshots
Code Sample
Setup
Additional Context
There are two ways to fix this cache problem:
getBBox()
returns zeroI prefer to choose the first way to fix this problem
The text was updated successfully, but these errors were encountered: