You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using angular material.
In that I'm using accordion.
in the accordion, I'm using a map.
The problem is that the accordion uses css display:none in order to hide its items and it seems there's an issue with it using this library.
See here - I've used a simple toggle button to demonstrate the issue. https://stackblitz.com/edit/ngx-openlayers-196
The workaround is to use *ngIf...
The text was updated successfully, but these errors were encountered:
If not, I had a similar problem with the stepper : It changes the display on the ngAfterContentInit lifecycle hook, and if the map is loaded at the wrong 'moment', the component.ts gets loaded without the template, wich makes the binding fail because of how openlayers is loaded.
I had to use the animationDone@output to load the component hosting the map (with material expansion panel there is an afterExpand @output):
This is not the cleanest way to process, we planned to be looking for a better way to handle this case at some point, I'll keep you posted on this if we fint a better way.
I'm using angular material.
In that I'm using accordion.
in the accordion, I'm using a map.
The problem is that the accordion uses css
display:none
in order to hide its items and it seems there's an issue with it using this library.See here - I've used a simple toggle button to demonstrate the issue.
https://stackblitz.com/edit/ngx-openlayers-196
The workaround is to use
*ngIf
...The text was updated successfully, but these errors were encountered: