Skip to content

Initial range input displayed value rounded when value specified before step #679

@plarner30

Description

@plarner30

I'm submitting a bug report
Windows 10
Chrome 79.0.3945.130

Current behaviour
Initial range input model value correct but slider visual position rounded. In example below slider will show the min value. Current fix is to specify value.bind after step.bind.

What is the expected behavior?
Initial position of range input slider visually correct

export class RangeInputComponent {
min = 0;
max = 1;
step = 0.2;
value = 0.2;
}
<template>
<input type="range" 
      min.bind="min" 
      max.bind="max"       
      value.bind="value"
      step.bind="step"  />
</template>

Similar issue in React: facebook/react#7099

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions