JS API 4.17: Direction highlited not cleaned up

287
2
10-13-2020 02:27 AM
NicolasGIS
Regular Contributor

Hello,

Just noticed a small bug with JS API 4.17 (but also in previous version): when a direction is highlited after having clicked on it in the widget, it is not cleaned up after reseting the route or destroying the widget:

Direction highlited      Highlite remains

You can easily reproduce it on this sample:

ArcGIS API for JavaScript Sandbox 

Thanks for listening !

/cc Noah Sager

Tags (2)
0 Kudos
2 Replies
Noah-Sager
Esri Regular Contributor

Hi Nicolas GIS‌, thank you for reporting this issue. I can reproduce it as well. Will investigate and update this thread when we have an update to share.

0 Kudos
Noah-Sager
Esri Regular Contributor

As a follow-up, if you use the `Clear route` option, does it properly clear the route and segments properly?

0 Kudos