textarea-caret: Improve performance of getCaretCoordinates.

`getCaretCoordinates`'s performance is improved 5x on average after
this patch due to reduced forced reflows of the layout.
This commit is contained in:
Aman Agrawal
2024-12-11 13:31:06 +05:30
committed by Tim Abbott
parent 82e0468071
commit 04e6b4eb4e
3 changed files with 27 additions and 3 deletions

View File

@@ -172,7 +172,8 @@
"handlebars": "patches/handlebars.patch",
"source-sans@3.46.0": "patches/source-sans@3.46.0.patch",
"svgicons2svgfont": "patches/svgicons2svgfont.patch",
"tippy.js@6.3.7": "patches/tippy.js@6.3.7.patch"
"tippy.js@6.3.7": "patches/tippy.js@6.3.7.patch",
"textarea-caret@3.1.0": "patches/textarea-caret@3.1.0.patch"
}
},
"nyc": {