DisappearingScaleBar do not disappear after specified visibilityDurationMillis #166
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
released
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The new DisappearingScaleBar does not disappear after the specified visibilityDurationMillis. Unless I have interpreted it wrong, I think what DisappearingScaleBar does is that it automatically disappears after specified visibilityDurationMillis on every zoom click.
But currently, after the initial disappearance that is not happening.
Steps to reproduce
I have also attached a video for the issue. It only contains the DisappearingScaleBar on top of the map.
DisappearingScaleBar.issue.mp4
.
Code example
I think the issue lies in the LaunchedEffect of DisappearingScaleBar. Because of the condition, it is not able to hide the scale bar after the time-out period.
The text was updated successfully, but these errors were encountered: