Search result highlighting pixels are inaccurate
未关闭
- 主要语言
- TypeScript
- 星标
- 395
- 派生
- 39
- 平均合并
- 7 小时 7 分钟
- 30 天内合并 PR
- 12
描述
Hi! I was trying to implement a search UI and highlighting behaviour in my app using Lector, when i noticed that the exactMatch result and calculated highlight rect was being very inconsistent in terms of its offset/accuracy.
Tested the same behaviour with a few words in the `Custom Search` example from https://lector-weld.vercel.app/docs/code/search and was able to reproduce the highlight being off. Screenshots below:
Actual (search term `aggressive`):
Expected (using browser find/search):
贡献指南
评估
这个 Issue 还没有评估数据。