Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few mapbox fixes #4197

Merged
merged 4 commits into from
Sep 18, 2019
Merged

A few mapbox fixes #4197

merged 4 commits into from
Sep 18, 2019

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Sep 17, 2019

The first commit fixes #4194

before: https://codepen.io/etpinard/pen/pozOKjL?editors=1010 (try hovering)
after: https://codepen.io/etpinard/pen/ZEzMgJy?editors=1010

and the last three combine to fix #4196

before: https://codepen.io/nicolaskruchten/pen/pOVLop (click on all the steps in sequence)
after: https://codepen.io/etpinard/pen/qBWMzoj

These commits will be part of v1.49.5

cc @archmoj @nicolaskruchten

- so the rest of Fx.hover can properly handle it,
  the bug currently only happens for number locations[i]
  that make it part of the <extra></extra> hover label content.
... on-par with Plotly.restyle, Plotly.relayout and
    Plotly.update
- this can happen when trying to remove a `visible:false` layer
@etpinard etpinard added bug something broken status: reviewable labels Sep 17, 2019
@nicolaskruchten
Copy link
Contributor

These look great! I’ll try the RCE with them to confirm they resolve all the similar-looking mapbox errors I’ve been seeing.

@nicolaskruchten
Copy link
Contributor

Yup, all of the weird edge cases I was hitting in the RCE go away with these fixes, thanks so much for the quick turnaround :D

@archmoj
Copy link
Contributor

archmoj commented Sep 18, 2019

💃 💃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem adding/removing mapbox layers via Plotly.react t.split issue with choroplethmapbox on hover
3 participants