aurelia / aurelia/templating

Initial range input displayed value rounded when value specified before step

Open
#679 1 comment 0 reactions 1 assignee Claimed by @bigopon View on GitHub
ergonomic
Dominant language
TypeScript
Stars
113
Forks
101
PR merge metrics
No merged PRs in 30d

Description

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;
}
```

```

```

Similar issue in React: https://github.com/facebook/react/issues/7099

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.