We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db6242e commit d19e0d6Copy full SHA for d19e0d6
2 files changed
app/javascript/maplibre/controls/shared.js
@@ -291,6 +291,8 @@ export function resetControls () {
291
hideContextMenu()
292
// reset open tooltips
293
dom.closeTooltips()
294
+ // re-initialize tooltips for map controls
295
+ dom.initTooltips()
296
}
297
298
app/javascript/maplibre/feature.js
@@ -105,6 +105,7 @@ export async function showFeatureDetails (feature) {
105
modal.scrollTo(0, 0)
106
modal.setAttribute('data-feature--modal-feature-id-value', feature.id)
107
modal.setAttribute('data-feature--edit-feature-id-value', feature.id)
108
+ dom.initTooltips(modal)
109
110
if (elevationChart) { elevationChart.destroy() }
111
elevationChart = await showElevationChart(feature)
0 commit comments