You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When trying to use storybook with deviceorientation event, it seems that the event doesn't get fired (not sure but noticed iframes which could be causing/blocking this). Behavior is the same on mobile devices or simulating it with dev tools.
To Reproduce
Steps to reproduce the behavior:
Create component with deviceorientation event, which can be implemented as logging out the DeviceOrientationEvent values alpha, beta, gamma
Write a story for the component and try to trigger the event
Expected behavior
`deviceorientation˙ event should be triggered in a story.
System:
OS: Win10
Browser: chrome
Framework: React
Version: "@storybook/react": "^5.1.9"
The text was updated successfully, but these errors were encountered:
Issue can be closed.
As it turns out iframe with insecure origin (http) caused trouble receiving device motion/orientation events on mobile devices. Run storybook on localhost (https) server with provided SSL certificate and it should work.
Describe the bug
When trying to use storybook with
deviceorientation
event, it seems that the event doesn't get fired (not sure but noticediframes
which could be causing/blocking this). Behavior is the same on mobile devices or simulating it with dev tools.To Reproduce
Steps to reproduce the behavior:
deviceorientation
event, which can be implemented as logging out theDeviceOrientationEvent
values alpha, beta, gammaExpected behavior
`deviceorientation˙ event should be triggered in a story.
System:
The text was updated successfully, but these errors were encountered: