zeroseven / react-screen-orientation

Display React Components based on screen orientation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unlock orientation on componentWillUnmount

ybelenko opened this issue · comments

Let's say I need to lock orientation for one specific screen. There is no way to reset orientation lock using your component.

@ybelenko Do you want to give this a try and submit a PR?

Sure, I did a small update in a fork, but I don't know how to test it. Don't have android device, any suggestions?