Closed abernierloreal closed 3 years ago
A little question,
Is that normal that padding isn't taken into account in the returned height value ?
height
NB: I have the rule * {box-sizing:border-box;} if ever it matters
* {box-sizing:border-box;}
Thank you
The library uses ResizeObserver.observe() without any extra options, which means it observes the content-box according to MDN
ResizeObserver.observe()
I think this issue is sort of related to this PR.
Once an option is added for that, it will handle your use-case, but it's not possible at the moment.
:tada: This issue has been resolved in version 8.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
A little question,
Is that normal that padding isn't taken into account in the returned
height
value ?NB: I have the rule
* {box-sizing:border-box;}
if ever it mattersThank you