- fixed cursor jumps caused for controlled inputs (culprit: doubled height calculations - pre and post change)
- added safe guard check before calculating element's height for non-browser environment (i.e. during tests)
- optimized calls to
setState
, now it's called only when some change happened - applying style properties directly (
style.setProperty
) instead ofelement.setAttribute('style', ...)
to avoid CSP issues with unsafe-inline