Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Remove clip attribute that was hiding the map. #1805

Merged
merged 3 commits into from
Oct 12, 2016
Merged

Conversation

jjeffryes
Copy link
Contributor

No description provided.

@jjeffryes
Copy link
Contributor Author

@rmisio do you remember why the map had a clip with a 0,0,0,0 rectangle?

That was causing the map to disappear as soon as it loaded.

@rmisio
Copy link
Collaborator

rmisio commented Oct 11, 2016

I don't remember. I think I'd need to play around with it to jog my memory. I do recall that I did put it in for some specific reason (something like the map was overhanging it's bounds or something like that).

Anyhow, the fact that this code has been here for months without issue leads me to believe that there is a deeper cause to whatever bug you are working on and removing the clip might be a band-aid at best that may very well introduce another issue.

…and style of iframe, remove check in address to match only name and country being required in an address.
@jjeffryes
Copy link
Contributor Author

It was changed back in https://github.com/OpenBazaar/OpenBazaar-Client/pull/1541/files#diff-eb1f18c7aba93c4c71bc152bdf4f50bd

I can't find the original reason the clip was added in.

If I go back to a commit from May 22, this bug still happens. But works fine if the clip is removed, with no negative effects that I've noticed so far.

Either this has been a bug since the clip was added or the Google Maps API changed in a way that broke this.

@rmisio
Copy link
Collaborator

rmisio commented Oct 12, 2016

I'm still seeing the spinner when I have no address.

@jjeffryes
Copy link
Contributor Author

You should still see the spinner for a brief time, and then it will load the default address.

@jjeffryes
Copy link
Contributor Author

Default address as in the generic address that just shows the world map. I thought that was better than a blank screen or a message.

@rmisio
Copy link
Collaborator

rmisio commented Oct 12, 2016

yeah, looks great. I didn't have the latest pull when I wrote that comment.

@rmisio rmisio merged commit 386f375 into master Oct 12, 2016
@jjeffryes jjeffryes deleted the fixDisappearingMap branch October 26, 2016 20:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants