Skip to content

Conversation

@VolodymyrBaydalka
Copy link
Contributor

Description:
In fullscreen mode chrome for android keeps showing system navigation UI
Changes proposed:

  • Additional options for requestFullscreen function fixes that and shouldn't affect other platforms/browsers

@dmarcos
Copy link
Member

dmarcos commented Mar 18, 2019

Thanks. A small change and it's good.

canvas.mozRequestFullScreen || // The capitalized `S` is not a typo.
canvas.msRequestFullscreen;
requestFullscreen.apply(canvas);
requestFullscreen.apply(canvas, [{ navigationUI: "hide" }]); //hide annoying navigation buttons on android
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linter failing (double quotes) and extra spaces. Update comment. See below:

// Hide navigation buttons on Android.
requestFullscreen.apply(canvas, [{navigationUI: 'hide'}]);

@dmarcos
Copy link
Member

dmarcos commented Mar 26, 2019

Awesome. thanks! Congrats on your first PR 🎆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants