简体   繁体   中英

Cannot deselect HTML 5 Range Slider Input

I am not sure if this is a bug in Chrome but for some reason when I use a html 5 range input I cannot deselect it. Even when I move my cursor away and let go of the button on mouse the slider continues to follow mouse movement and I cannot set the slider value. Even if I tab to the next input I still have this issue This example is from W3Schools . I tried it on my android device and I don't have this same issue. Is there any workarounds, I specifically need to ensure it works with Angularjs.

<!DOCTYPE html>
<html>
<body>

<form action="demo_form.asp" method="get">
Points: 0<input type="range" name="points" min="1" max="10">10
<input type="submit">
</form>

<p><b>Note:</b> type="range" is not supported in Internet Explorer 9 and earlier versions.</p>

</body>
</html>

此行为是由于Chrome扩展字典气泡:即时字典导致的,一旦禁用它,则Slider会按预期运行

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM