Skip to content

iOS Beta 18.7.2, cannot get webgl2 context #13581

@tristan-morris

Description

@tristan-morris

mapbox-gl-js version

No response

Browser and version

Safari, Chrome, Firefox on iOS Beta 18.7.2

Expected behavior

More of an fyi but incase it makes it into the final release: iOS Beta 18.7.2 somehow broke getting webgl2 (and webgl) contexts in Safari and other browers. And so mapbox-gl-js doesn't work.

const canvas = document.createElement('canvas');
const context = canvas.getContext('webgl2');

// Immediate [Error] WebGL: context lost.

This is at least handled by the mapboxgl.supported() check.

iOS 18.7.1 (release) and iOS 26 aren't impacted.

Actual behavior

No response

Link to the demonstration

No response

Steps to trigger the unexpected behavior

No response

Relevant log output

Edit - typo fix iOS 21 to 26

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions