• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yext / search-ui-react / 21918716563 / 1
85%
main: 85%

Build:
DEFAULT BRANCH: main
Ran 11 Feb 2026 06:57PM UTC
Files 113
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Feb 2026 06:55PM UTC coverage: 84.693% (-0.5%) from 85.188%
21918716563.1

push

github

web-flow
fix: stop mapbox pins from flickering (#628)

Fixes a bug in the MapboxMap component where all Mapbox pins are removed and re-created when any pin is clicked. This bug was introduced when `selectedResult` was added to the dependency array of the effect hook that runs when **all** results change (i.e. a search is made) - by design, this hook destroys all current pins and makes new ones so it should not be re-run when only `selectedResult` changes.

This change:
* Extracts marker creation into it's own helper function, `createMarker`
* Adds an effect hook to update pins rendered with `renderPin` instead of `PinComponent` when they are selected. `PinComponent` already has an effect hook that handles selection, but `renderPin` does not.
* Adds comments to each MapboxMap effect hook to give context for what they do (helpful for me, personally)

[J=WAT-5390](https://yext.atlassian.net/browse/WAT-5390)
---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>

1011 of 1411 branches covered (71.65%)

Branch coverage included in aggregate %.

2270 of 2463 relevant lines covered (92.16%)

147.45 hits per line

Source Files on job 21918716563.1
  • Tree
  • List 113
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 21918716563
  • 2148077b on github
  • Prev Job for on main (#21914941921.1)
  • Next Job for on main (#21918902595.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc