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

Allow support for absolute url clip-path. #494

Closed
aaronmallen opened this issue Aug 8, 2016 · 1 comment
Closed

Allow support for absolute url clip-path. #494

aaronmallen opened this issue Aug 8, 2016 · 1 comment

Comments

@aaronmallen
Copy link

aaronmallen commented Aug 8, 2016

When disabling the # url convention in an angular app with:

$locationProvider.html5Mode({enabled: true, requireBase: false})

the clipEdge property was not working in my environment. Essentially by adding the full url before the anchor tag on the g element calling clip path, I was able to successfully clip the bars area.

<!-- given the url http://localhost:9000/demo -->

<!-- this is what is provided by the directive, which does not work. -->
<g clip-path="url(#nv-chart-clip-path-6907)">...</g>

<!-- providing absolute url works -->
<g clip-path="url(http://localhost:9000/demo#nv-chart-clip-path-6907)">...</g>
@aaronmallen aaronmallen changed the title Allow support for absolute url clip pathing. Allow support for absolute url clip-path. Aug 8, 2016
@aaronmallen
Copy link
Author

angular/angular.js#8934

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

No branches or pull requests

1 participant