redux-responsive
redux-responsive copied to clipboard
Initial orientation problem
Problem: Orientation prop is always null at the start, so the app is not displayed well depending if I'am using desktop or mobile browser.
Question: I would want to know how to trigger some event that checks and set orientation to react responsive prop or any solution. I think that there's a problem calculating the initial resolution.
More: I can set initialMediaType parameter to small instead of 'infinity' in order to get no initial problems when I am using a mobile browser.
hey @dmansof - i'm sorry to hear you're running into issues with the orientation detection. What browser are you using?