Closed hipstersmoothie closed 4 years ago
I need to be able to set the box that resize observers uses
Right now I can't get it to respect box-sizing: border-box
box-sizing: border-box
Try to size an element with box-sizing: border-box
Should be able to make it take padding into account
Might be a duplicate of this: https://github.com/ZeeCoder/use-resize-observer/pull/31
It is! Feel free to close this
Bug Report
I need to be able to set the box that resize observers uses
Describe the Bug
Right now I can't get it to respect
box-sizing: border-box
How to Reproduce
Try to size an element with
box-sizing: border-box
Expected Behavior
Should be able to make it take padding into account