Open
Description
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
Labels
No labels