79108513

Date: 2024-10-21 04:06:03
Score: 4
Natty:
Report link

I wasn't using Angular, but I was able to resolve the getBoundingClientRect returning zeroes issue by setting up a ResizeObserver since I was calling getBoundingClientRect before the element was added to the DOM.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: BrandonG