Closed Bug 858156 Opened 13 years ago Closed 8 months ago

Can't invoke fullscreen API from touch events

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jlong, Unassigned)

Details

I tried this on the latest B2G and it was suggested I file it here as it's most likely an issue with Gecko. I can't invoke fullscreen access from a touchstart event: var button = document.getElementById('fullscreen-button'); button.addEventListener('touchstart', function() { document.body.mozRequestFullScreen(); }); Nothing happens when I press the button, but if I add a logging statement I know the event is being fired and it's the right function. Are the touch event marked as user interactions?
Component: Event Handling → User events and focus handling
Severity: normal → S3

Close per comment 1.

Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.