Skip to main content
Question

Get the warning of horizontal and vertical padding


I got this error in my figma plugin when I applied autolayout by using figma plugin API’s.
Here is my current version of figma in Package.json @figma/plugin-typings”: “1.57.1”.
I am not using horizontal padding anywhere in my code.

reading horizontalPadding is no longer supported as left and right padding may differ

This topic has been closed for replies.

3 replies

tank666
  • 4873 replies
  • March 8, 2023

This is not an error, just a warning. It’s safe to ignore it.


Hemalatha_Palanisamy

I am facing this error in my plugin as well and I doubt there is a performance lag because of this warning. Kindly let me know whether there is any way to get rid of this warning


tank666
  • 4873 replies
  • September 28, 2023

Don’t read these properties and then you won’t see these warnings.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings