Skip to main content
When users edit a document, stored positions can drift. Use PositionTracker so navigation targets stay stable.

Best practices

  • Track results right after find().
  • Store trackerId in UI state, not raw positions.
  • Re-run find() and rebuild tracked IDs when refreshing your list.
  • Handle missing targets gracefully (goToTracked can return false if content was removed).