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

Add layout tab class to disable js layout switching #4859

Merged
merged 1 commit into from
Nov 21, 2016
Merged

Add layout tab class to disable js layout switching #4859

merged 1 commit into from
Nov 21, 2016

Conversation

chajath
Copy link
Contributor

@chajath chajath commented Oct 18, 2016

This is helpful when using MDL with other frameworks that provide routing such as Angular2.

This is helpful when using MDL with other frameworks that provide routing such as Angular2.
@sgomes
Copy link
Contributor

sgomes commented Oct 26, 2016

Thanks for the PR, @chajath!

Any chance the functionality in 14b6cb1 covers your use-case? Taking a quick look at your code, I don't think it does, but I just wanted to make sure before I do a full review.

@chajath
Copy link
Contributor Author

chajath commented Oct 26, 2016

Hi @sgomes thanks for looking into this. Unfortunately checking for href starting with # won't be enough in my use case, as angular2 router (or other client-side routing library for that matter) would eventually populate href tag with #.

@sgomes
Copy link
Contributor

sgomes commented Nov 21, 2016

Thanks for the PR, @chajath! I think this will be a nice addition for the next 1.x release.

@sgomes sgomes merged commit 46493d5 into google:mdl-1.x Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants