Open Vijay-Nirmal opened 3 years ago
Describe the bug Using ngx-charts-gauge and ngx-graph in same page makes the ngx-graph float over all the elements in the page.
To Reproduce Steps to reproduce the behavior:
Expected behavior Using ngx-charts-gauge makes ngx-graph float over all the elements in the page.
Screenshots
You can even drag the ngx-graph from outside its border
Demo
https://stackblitz.com/edit/ngx-graph-issue-2?file=src/app/app.component.html
ngx-graph version
"@swimlane/ngx-graph": "^7.2.0", "@swimlane/ngx-charts": "^18.0.1",
I have found out that this is because of the two packages sharing the same html/svg classes @Vijay-Nirmal.
https://github.com/swimlane/ngx-graph/blob/master/projects/swimlane/ngx-graph/src/lib/graph/graph.component.html
Probably all we need to do is remove those references or replace them by ngx-graph-outer and ngx-graph
Describe the bug Using ngx-charts-gauge and ngx-graph in same page makes the ngx-graph float over all the elements in the page.
To Reproduce Steps to reproduce the behavior:
Expected behavior Using ngx-charts-gauge makes ngx-graph float over all the elements in the page.
Screenshots![ianYqbErTe](https://user-images.githubusercontent.com/24755596/120110754-79530c00-c18c-11eb-90ec-f7b67eeb11c2.gif)
You can even drag the ngx-graph from outside its border![VgVmnkLR5h](https://user-images.githubusercontent.com/24755596/120110876-11e98c00-c18d-11eb-82d2-2212aa979dc7.gif)
Demo
https://stackblitz.com/edit/ngx-graph-issue-2?file=src/app/app.component.html
ngx-graph version