question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[v.6.xx - Safari BUG ONLY] IconLayers not rendered if first layer is ScatterplotLayer (React Example with CodeSandbox)

See original GitHub issue

Hi there!

I wanted to report a bug that I ran into only in Safari, it’s not critical as a workaround is to simply pass in a Layer different than Scatterplot.

Actual Result

When the first layer passed to DeckGL is a ScatterplotLayer, the subsequent IconLayers are not rendered.

Expected Result

All layers should be rendered, similarly to how Chrome or Firefox render the layers.

Reproduce Steps

Pass in an array of layers with at least one ScatterplotLayer and one IconLayer, where the ScatterplotLayer is first: [ScatterPlotLayer, IconLayer].

The map will only render the ScatterplotLayer.

Code Example

I created a mini project to help understand what’s happening: https://codesandbox.io/s/8yw9nnl270.

  • Open in Chrome or Firefox to see the expected result.
  • Open in Safari to see the bug: the Icon is not rendered.

Keep up the good work!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
ibgreencommented, Aug 10, 2018

Also, is this an accurate timeline of when it will be out?

We’ll try. It will for sure be solved in v6.1 before the end of this month, and trying to get something ready before that. It is not a small fix, as can be seen in WIP PR. And v5.3 is an option until then.

0reactions
dekkofilmscommented, Aug 27, 2018

Awesome, I will try to give the new version a try this week, and for sure let you know if our issue has been resolved. 👍 Thanks so much, @ibgreen

Read more comments on GitHub >

github_iconTop Results From Across the Web

Safari BUG ONLY] IconLayers not rendered if first layer is ...
The map will only render the ScatterplotLayer . Code Example. I created a mini project to help understand what's happening: https://codesandbox.
Read more >
React-MapGL with DeckGL - CodeSandbox
CodeSandbox is an online editor tailored for web applications.
Read more >
Bug with Safari only - javascript - Stack Overflow
If I use: transform: rotateZ(-180deg). instead of the rotateX there's no more "glitches" But I would like to have it on rotateX.
Read more >
Three Buggy React Code Examples and How to Fix Them
I'm going to show you how bugs might creep into your code if you're mutating props. Sometimes you'll want a component that will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found