Skip to content

emitting an event after opening new step #98

@CedricDsmet

Description

@CedricDsmet

Hey, i'm using a leaflet map inside one of the steps. when leaflet is initialized the map is hidden, this causes some errors. The solution however is simple, the moment that the map can be seen the map.invalidateSize() function should be run. So i tried to run this function in an eventlistener to the stepopen signal.
The problem however is that this signal is emitted before the animation is ended. I solved the problem by reemitting this signal when the animation is finished and that did the trick. maybe it can be handy to add an extra signal for this, or replace the stepopen signal to that place.
for the rest really nice library thanks a lot 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions