diff --git a/src/components/wms/ElevationSlider.vue b/src/components/wms/ElevationSlider.vue index 2b3fae015..d808d3800 100644 --- a/src/components/wms/ElevationSlider.vue +++ b/src/components/wms/ElevationSlider.vue @@ -8,27 +8,39 @@ :interval="interval" @error="onError" @update:model-value="onInputChange" + :keydownHook="onSliderKeydown" :hideLabel="true" lazy direction="btt" tooltip="always" tooltipPlacement="left" height="200px" - ref="slider" + ref="sliderComponent" > - {{ Math.round(currentValue) }} {{ props.unit }} + + {{ + Math.round(currentValue) + }} + {{ props.unit }}