Skip to content

Conversation

@k-gerner
Copy link
Contributor

If the map canvas has not been initialized / created with the expected height, we could pass in padding values that are too large for the canvas, causing a computational error in the Mapbox library. We now make sure that the padding fits within the map canvas

J=WAT-5090
TEST=manual
packed tarball and used in VLE site that was having issues prior. Saw the issues no longer happen

@k-gerner k-gerner requested a review from a team as a code owner December 17, 2025 20:42
@coveralls
Copy link

coveralls commented Dec 17, 2025

Coverage Status

coverage: 85.836% (-0.2%) from 86.062%
when pulling f6803f9 on vle-locator-map-padding-fix
into 40c8297 on main.

@github-actions
Copy link
Contributor

Current unit coverage is 89.86632169038378%
Current visual coverage is 70.58823529411765%
Current combined coverage is 92.95952782462058%

Fondryext
Fondryext previously approved these changes Dec 17, 2025
Fondryext
Fondryext previously approved these changes Dec 17, 2025
@k-gerner k-gerner merged commit 9c6f459 into main Dec 17, 2025
21 of 24 checks passed
k-gerner added a commit to yext/visual-editor that referenced this pull request Dec 17, 2025
This will pick up the locator map bug fix from here:
yext/search-ui-react#592


J=[WAT-5090](https://yext.atlassian.net/browse/WAT-5090?atlOrigin=eyJpIjoiNmYyNTk2ZjMwYzZjNGYzMWE5OGRhOGQyODg1NDM3N2MiLCJwIjoiaiJ9)
TEST=manual
Tested search-ui-react tarball package and saw it work

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rakesh Keerthi <108081082+rkeerthient@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ben Life <77246839+benlife5@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants