ngx-responsive
ngx-responsive copied to clipboard
isPortrait and isLandscape return wrong values on Chrome (DevTools as Simulate any phone)
when device is in portrait mode, *isPortrait returns FALSE and *isLandscape returns TRUE.
logic is hence reversed.
same problem here - works fine in safari browser. But reversed values for chrome.
looks live this codebase is dead. I posted my issue 28 days ago and author has yet to reply. I had to reverse my logic to account for his bug (and then of course) if or when ever he does fix it, my code will break :(
hopefully he / she was just in his / her holidays :D It would be nice to have this working...