Mapbox-gl-js: Flickering in Safari 10.0.1 on Mac

Created on 9 Dec 2016  路  11Comments  路  Source: mapbox/mapbox-gl-js

mapbox-gl-js version:v0.28.0

Steps to Trigger Behavior

  1. Open up any page that uses MapBox GL, i.e. https://www.mapbox.com/mapbox-gl-js/example/geojson-polygon/
  2. Resize the window to force the Map container element to resize

Expected Behavior

Map should not be flickering

Actual Behavior

Map is flickering very intensely and happens on container element resizing, only in Safari 10.0.1 (I am using el Capitan 10.11.6.)
Map does not flicker in Chrome, Firefox on Mac

bug environment-specific

Most helpful comment

Oof鈥 can also reproduce this on https://www.mapbox.com/mapbox-gl-js/example/simple-map/
Safari: version 11.0.1 (13604.3.5)
GPU: Intel Iris Graphics 550 1536 MB

All 11 comments

Can reproduce in Safari 10.1:

flicker

Not reproducible in 11.0.

I am experiencing this in Safari 11.0.1 (and not in the latest Firefox or Chrome browsers.)

@shongololo with the latest GL JS release?

@mourner yes I am using version 0.42.2

Oof鈥 can also reproduce this on https://www.mapbox.com/mapbox-gl-js/example/simple-map/
Safari: version 11.0.1 (13604.3.5)
GPU: Intel Iris Graphics 550 1536 MB

Also experiencing as above on https://www.mapbox.com/mapbox-gl-js/example/simple-map/

Command+F to open the Find menu is also slow and causes flickering in a lot of instances, could be more of a Safari bug?

Safari 11.0.3 (13604.5.6)
macOS 10.13.3 (17D102)
GPU: Radeon Pro 570 4 GB

Present for me and all of our iOS users. Seems to be a broad Safari issue, not specific to OSX

It may be worth noting that almost, if not all WebGL example projects I've looked at with Safari also seem to flicker in the same way, so this may be an issue with Safari / WebKit and not with mapbox.

Still experiencing the issue
safari 12.1.2/macos mojave 10.14.6

found possible solution

Happened on Safari Version 12.0.3 (14606.4.5) and also for Safari on iOS

Was this page helpful?
0 / 5 - 0 ratings