Skip to content
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

Trigger streetview 'layoutChange' #735

Merged
merged 5 commits into from
Jul 3, 2017
Merged

Conversation

green3g
Copy link
Member

@green3g green3g commented Jun 26, 2017

since parent widget may already be open due to delayed startup

Description

Calls the widget's layout change when the widget is started. onOpen isn't called initially otherwise because the startup is delayed.

Checklist

  • grunt lint produces no error messages


// trigger layout change since parentWidget might
// already be open
this.onLayoutChange(this.parentWidget.open);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be at line 73 within the if (this.parentWidget.toggleable) { statement?

@tmcgee tmcgee merged commit 3040477 into develop Jul 3, 2017
@tmcgee tmcgee deleted the fix/StreetView-parentWidget branch July 3, 2017 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants