Abreham
Abreham
Also experiencing the same issue.
I have opened a PR for this here https://github.com/radix-ui/primitives/pull/2712
Hey @mccarlosen have you found a fix for this?
Hey Carlos, Can you please let me know what other solution / library you started using? @mccarlosen
Thank you for getting back to me. Much appreciated.
@timdown anything we can do to fix his issue?
I have found that `findText()` performs well if the text is found and takes **10x+ more time if the text isn't found.**
Since @timdown isn't supporting the repo. If anyone is interested to pair program this issue please comment below.
Hello @timdown ! Thanks for reaching out. If I were to optimize the [findText()](https://github.com/timdown/rangy/blob/master/src/modules/rangy-textrange.js#L1763) function in the TextRange module. Where would you recommend I start?
As I understand it, 1. **When the text is found**: it's performance is good / optimal 2. **When the text isn't found**: keeps looking for the text in the subsequent...