-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixed region/initialRegion null overrides of this.props #1715
fixed region/initialRegion null overrides of this.props #1715
Conversation
5e4834a
to
ecfe964
Compare
Can this get merged soon? This bug fix would help a lot as i'm also having issues with #1742 |
probably someone from AirBnb can merge it |
@larryranches in my experience it can take quite a while for approved changes to make it in, I had to maintain my own fork to speed things up |
ecfe964
to
e5d9bce
Compare
@atkit could you please update the PR (so the conflict goes away) maybe we can merge this? 💪 |
e5d9bce
to
2b8b243
Compare
LGTM @alvelig |
Should be just move the spread down to the bottom? |
@christopherdro I think yes, because otherwise the default will overwrite the spread. |
I noticed that
props.region and props.initialRegion are always come as null. (even if set for
<MapView />
)This change gives ability to set
region
andinitialRegion
to something that come from the top.Also it causes big performance issue on RN side when these props are null, (I'll try to mitigate that with different PR)