Skip to content

Enable CupertinoContextMenu on Web#52977

Merged
fluttergithubbot merged 2 commits intoflutter:masterfrom
justinmc:shader-mask-web
Mar 23, 2020
Merged

Enable CupertinoContextMenu on Web#52977
fluttergithubbot merged 2 commits intoflutter:masterfrom
justinmc:shader-mask-web

Conversation

@justinmc
Copy link
Copy Markdown
Contributor

Description

CupertinoContextMenu is currently broken on web. This fixes it with the caveat that the small color mask during opening will not appear on web. Once ShaderMask is supported on web, the conditional in this PR can be removed, and web should work like other platforms.

Related Issues

#52967
#44152
#52766

Tests

I added a check that ShaderMask exists on non-web platforms and that it does not exist on the web.

I also manually verified that the CupertinoContextMenu docs example runs without error in the browser locally.

Breaking Change

Not a breaking change.

@justinmc justinmc added f: cupertino flutter/packages/flutter/cupertino repository platform-web Web applications specifically labels Mar 20, 2020
@justinmc justinmc requested a review from ferhatb March 20, 2020 21:24
@justinmc justinmc self-assigned this Mar 20, 2020
@fluttergithubbot fluttergithubbot merged commit 197ac52 into flutter:master Mar 23, 2020
@justinmc justinmc deleted the shader-mask-web branch March 23, 2020 23:11
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

f: cupertino flutter/packages/flutter/cupertino repository platform-web Web applications specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants