Closed good-ghost closed 5 months ago
That code is part of the Example 14 demo and it works fine, it must be another one of those "Doesn't work in Salesforce" problem and if that is the case then there's nothing I can do.
The resize detection container
uses the ResizeObserver and I assume it's blocked, like many other things, in Salesforce. That code was added but someone else and I don't entirely know how it works but I would suggest you use the regular resizer
OK, Thanks,
I will try with regular resizer.
Describe the bug
In the Salesforce LWC,
AutoResize option with "resizeDetecion : 'container'" invoke the "[ResizeObserver is not a constructor]" exception.
Reproduction
Create the LWC component from Salesforce platform.
Here is code I used.
Above code create the exception with message "[ResizeObserver is not a constructor]".
How can I handle this? Anyone had sole this problem?
Which Framework are you using?
Other
Environment Info
Validations