Skip to content

Allow increasing the range input max value #73

Open
@mably

Description

@mably

Here is what I did to keep the slider working properly while increasing the range input max value:

this.animationFrame = requestAnimationFrame(() => {
  this.shadowRoot.host.style.setProperty('--exposure', `${(target.value / target.max * 100)}%`)
});

Setting the max value to 1000 allows to have a very smooth slide effect compared to the 100 max value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions